bug1106171-sink.js (350B)
1 // |jit-test| --ion-sink=on 2 // Sink Algorithm should not move instruction into merge blocks 3 // which have no corresponding pc. 4 5 setJitCompilerOption("ion.warmup.trigger", 30); 6 7 var o = { 8 a : 40, 9 b : true 10 }; 11 12 function f(a, b) { 13 do { 14 if (a == 0) 15 return; 16 a--; 17 } while (true || this ? o.a-- : true); 18 } 19 f(200000, 0);