Debian Codegraph @

js/src/jit-test/tests/ion/bug1620189.js

raw
1 function test(...a) {
2 // Overwrites the parameter |a|, but otherwise isn't used within this
3 // function, which should allow to optimise away the function expression.
4 // On bailout, this instruction can be safely repeated.
5 function a() {}
6
7 // Read an element from the implicit |arguments| binding to ensure the
8 // arguments object gets created.
9 assertEq(arguments[0], 0);
10 }
11 test(0);