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