]> git.saurik.com Git - apple/javascriptcore.git/blame_incremental - tests/stress/ftl-checkin-variable.js
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / tests / stress / ftl-checkin-variable.js
... / ...
CommitLineData
1function foo(l,x){
2 var t = l in x;
3 return t;
4}
5
6noInline(foo);
7
8var r;
9for (var i = 0; i < 1000000; ++i) {
10 var z = { 'y' : i, 's' : i + 1 };
11 z.s = 10;
12 r = foo("s",z);
13}
14
15if (!r) {
16 print ("Error: " + r);
17}