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