]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/sink-arguments-past-invalid-check-int32-dfg.js
fe645e8c9470c489467a453a2fa77c21449fa622
[apple/javascriptcore.git] / tests / stress / sink-arguments-past-invalid-check-int32-dfg.js
1 function foo() {
2 return isInt32(arguments);
3 }
4
5 noInline(foo);
6
7 for (var i = 0; i < 10000; ++i) {
8 var result = foo();
9 if (result !== false)
10 throw "Error: bad result: " + result;
11 }
12