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