Sign in
webkit
/
WebKit
/
4759fc9728b74fdcb18c723e5add5b9c9f5e6e13
/
.
/
JSTests
/
stress
/
dead-uint32-to-number.js
blob: 4e3987868f2a4cd4b9c3c5f9eb37f05b5dcaad62 [
file
] [
log
] [
blame
]
function
foo
(
a
,
o
)
{
var
x
=
a
>>>
0
;
o
.
f
=
x
|
0
;
for
(
var
i
=
0
;
i
<
100
;
++
i
)
x
++;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
100
;
++
i
)
foo
(
42
,
{});
var
o
=
{
g
:
43
};
foo
(
47
,
o
);
if
(
o
.
f
!=
47
)
throw
"Error: o.f is "
+
o
.
f
;