Debian Codegraph @

js/src/jit-test/tests/auto-regress/bug743094.js

raw
1 // Binary: cache/js-dbg-32-a9a18824b4c1-linux
2 // Flags: --ion-eager
3 //
4
5 var i = 0;
6
7 gczeal(2);
8 function test() {
9 // Recursion depth reduced to allow PBL with debug build (hence larger
10 // frames) to work.
11 if (i++ > 75)
12 return "function";
13 var res = typeof (new test("1")) != 'function';
14 return res ? "function" : "string";
15 }
16
17 test();