Sign in
webkit
/
WebKit
/
b0c18fd02ef6ac2cc1ec9b828ca23bc34a61f86b
/
.
/
JSTests
/
stress
/
int52-ai-mul-then-filter-int32-directly.js
blob: 5544e5c227d09ac295e50309be76485999863430 [
file
] [
log
] [
blame
]
function
foo
(
a
,
b
,
c
)
{
var
o
=
{
f
:
42
};
o
.
f
=
(
a
*
b
+
5
)
*
c
+
5
;
return
o
.
f
|
0
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
result
=
foo
(
65536
,
65536
,
0
);
if
(
result
!=
5
&&
result
!=
42
)
throw
"Error: bad result: "
+
result
;
}