]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/stress/make-large-string-jit.js
1 // Like make-large-string.js, but tests MakeRope with two arguments in the DFG and FTL JITs.
11 for (var i
= 0; i
< 100000; ++i
)
15 for (var i
= 0; i
< 31; ++i
)
17 print("Should not have gotten here.");
18 print("String length: " + s
.length
);
19 throw "Should not have gotten here.";
21 if (e
.message
!= "Out of memory")
22 throw "Wrong error: " + e
;