Debian Codegraph @

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

raw
1 // Test 1: When constructing x, we shouldn't take the prototype for this.
2 // it will crash if that happens
3 evalcx("\
4 var x = newGlobal().Object;\
5 function f() { return new x; }\
6 f();\
7 f();\
8 ", newGlobal());