]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/inline-llint-with-switch.js
84b7b6bdfbac989c0ed005dd95b57bb649638ff9
21 return foo(effectful42() - 42);
31 throw "Error: bad result: " + result
;
34 // Make sure that the call to foo() looks like it has happened.
35 for (var i
= 0; i
< 2; ++i
)
38 // Warm up bar and cause inlining, but make sure that foo() doesn't get DFG'd.
39 for (var i
= 0; i
< 10000; ++i
)
42 // And finally test the switch statement.