Sign in
webkit
/
WebKit
/
63c63479e42d5d7cd9e5c20fa3c0adb62aed122e
/
.
/
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
;