Sign in
webkit
/
WebKit
/
56b894cf3d88d931dd6ddc67d6c4d9e352030ab4
/
.
/
JSTests
/
stress
/
fiat-int32-to-int52.js
blob: 3e3ef8ac4752df375cb95e03f3807a8ec913cf40 [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
return
fiatInt52
(
o
.
f
)
+
1
;
}
noInline
(
foo
);
var
o
=
{
f
:
42
};
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
foo
(
o
);
if
(
result
!=
43
)
throw
"Error: bad result: "
+
result
;
}