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