js/src/jit-test/tests/basic/testApplyInterpretLowered2.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:4caa043bbbca
1
2 /* Make sure the interpreter can pop lowered frames pushed by CompileFunction. */
3
4 function recompile() {}
5
6 function bar() {
7 for (var i = 0; i < 50; i++) {
8 var foo = new Function("recompile(arguments[0] + " + i + "); return arguments[0]");
9 assertEq(foo.apply(null, [i]), i);
10 }
11 }
12 bar();

mercurial