Sign in
webkit
/
WebKit
/
c27e52ec2eefea39423e8eef58df2aebc1b5417d
/
.
/
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
;
}