Debian Codegraph @

js/src/jit-test/tests/ion/bug1342483-2.js

raw
1 // |jit-test| error: () => g
2 function f() {
3 // Block Scope
4 {
5 // Lexical capture creates environment
6 function g() {}
7 var h = [() => g];
8
9 // OSR Re-Entry Point
10 for (;;) { break; }
11
12 // Type Invalidation + Throw
13 throw h[0];
14 }
15 }
16
17 f();