Debian Codegraph @

js/src/jit-test/tests/warp/trial-inline-gc-1.js

raw
1 // |jit-test| --fast-warmup
2 function g(x) {
3 return x + 1;
4 }
5 function f() {
6 for (var i = 0; i < 150; i++) {
7 assertEq(g("foo"), "foo1");
8 assertEq(g(1), 2);
9 if (i === 100) {
10 gc(this, "shrinking");
11 }
12 }
13 }
14 f();