Sign in
webkit
/
WebKit
/
a36dd1c4bd8146169ac601fd378f4d14b5f88ac7
/
.
/
JSTests
/
stress
/
parse-int-intrinsic-dfg-backend-flush.js
blob: b66057c16472b1f86cd3b660789987a1702554b7 [
file
] [
log
] [
blame
]
function
assert
(
b
)
{
if
(!
b
)
throw
new
Error
(
"Bad"
)
}
function
foo
(
x
)
{
return
x
===
parseInt
(
x
,
10
);
}
noInline
(
foo
);
for
(
let i
=
0
;
i
<
10000
;
i
++)
{
assert
(!
foo
(`
$
{
i
}`));
assert
(
foo
(
i
));
}