testApplyInterpretLowered2.js (299B)
1 /* Make sure the interpreter can pop lowered frames pushed by CompileFunction. */ 2 3 function recompile() {} 4 5 function bar() { 6 for (var i = 0; i < 50; i++) { 7 var foo = new Function("recompile(arguments[0] + " + i + "); return arguments[0]"); 8 assertEq(foo.apply(null, [i]), i); 9 } 10 } 11 bar();