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