Sign in
webkit
/
WebKit
/
8811b522c4d9fd9fbebc2e2caf8f1ebff78163f9
/
.
/
JSTests
/
stress
/
ftl-library-substring.js
blob: 2bc0532e1d47c2940cae438e443c41397308e76e [
file
] [
log
] [
blame
]
function
foo
(
i
,
x
){
return
x
.
substring
(
2
,
5
);
}
noInline
(
foo
);
var
x
=
""
;
for
(
var
i
=
0
;
i
<
100000
;
i
++){
x
=
foo
(
i
,
"lkajsx"
);
}
if
(
x
!=
"ajs"
)
throw
"Error: bad substring: "
+
x
;