Sign in
webkit
/
WebKit
/
a9f4b58f152c63d630d9f525b173cf11180e7ede
/
.
/
Source
/
JavaScriptCore
/
tests
/
stress
/
fiat-value-to-int52-then-fold.js
blob: 86f26c69a0c3afaaf36bf98230c2883ed3736d69 [
file
] [
log
] [
blame
]
function
foo
()
{
return
fiatInt52
(
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
;
}