Debian Codegraph @

js/src/jit-test/tests/ion/bug1028910.js

raw
1 setJitCompilerOption("ion.warmup.trigger", 4);
2
3 var IsObject = getSelfHostedValue("IsObject")
4 function test(foo) {
5 if (IsObject(foo)) {
6 print(foo.test)
7 }
8
9 }
10
11 for (var i=0; i<10; i++) {
12 test(1)
13 test({})
14 }