Debian Codegraph @

js/src/jit-test/tests/gc/oomInExceptionHandlerBailout.js

raw
1 oomTest(() => {
2 let x = 0;
3 try {
4 for (let i = 0; i < 100; i++) {
5 if (i == 99)
6 throw "foo";
7 x += i;
8 }
9 } catch (e) {
10 x = 0;
11 }
12 return x;
13 });