Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
stress
/
ftl-arithsqrt.js
blob: 64b1c4a274899692e168a5403cede0d68235f18a [
file
] [
edit
]
function
foo
(
x
)
{
return
Math
.
sqrt
(
x
);
}
noInline
(
foo
);
let expected
=
foo
(
testLoopCount
-
1
);
var
j
=
0
;
for
(
var
i
=
0
;
i
<
testLoopCount
;
++
i
)
j
=
foo
(
i
);
if
(
expected
!=
j
)
{
throw
"Error"
}