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