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