comparison: js/src/jit-test/tests/basic/testApplySpeculationFailInCompiler.js
js/src/jit-test/tests/basic/testApplySpeculationFailInCompiler.js
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 function baz(i) { return i } |
|
2 function bar(x, y) { return baz.apply(null, x ? y : arguments) } |
|
3 var s; |
|
4 for (var i = 0; i < 1000; ++i) |
|
5 s = bar(true, [42]); |
|
6 assertEq(s, 42); |