]> git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/ftl-putbyiddirect.js
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / tests / stress / ftl-putbyiddirect.js
1 function foo(x){
2 return { 0 : 1 , a : x }
3 }
4
5 noInline(foo);
6
7 for (var i = 0; i < 100000; ++i)
8 o = foo(i);
9
10 if (o.a != 99999 || o[0] != 1)
11 throw "Error"
12