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