Sign in
webkit
/
WebKit
/
e83748a3d986d861713edbad6b20589c06c9b99f
/
.
/
JSTests
/
stress
/
fiat-value-to-int52-then-fail-to-fold.js
blob: fde0a28a793f787fa13febd5273b3f9306e4b080 [
file
] [
log
] [
blame
]
function
foo
()
{
return
fiatInt52
(
$vm
.
dfgTrue
()
?
5.5
:
42
)
+
1
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
foo
();
if
(
result
!=
43
&&
result
!=
6.5
)
throw
"Error: bad result: "
+
result
;
}