Debian Codegraph @

js/src/jit-test/tests/jaeger/recompile/bug661859.js

raw
1 function TestCase(n, d, e, a) { return this.expect = e; }
2 function reportCompare(expected, actual, description) {
3 typeof actual
4 }
5 expect = 1;
6 var summary = 'Do not assert: top < ss->printer->script->depth';
7 var actual = 'No Crash';
8 var expect = 'No Crash';
9 test();
10 function notInlined(f) {
11 // prevent inlining this function, as a consequence, it prevent inlining
12 // Array.prototype.some (Bug 1087468)
13 with ({}) {}
14 return f;
15 }
16 function test(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z) {
17 try {
18 p = [1].some(notInlined(function (y) { return test(); })) ? 4 : 0x0041;
19 } catch (ex) {}
20 reportCompare(expect, actual, summary)
21 }
22 test();
23 TestCase();
24 test()