Sign in
webkit
/
WebKit
/
b0c18fd02ef6ac2cc1ec9b828ca23bc34a61f86b
/
.
/
JSTests
/
stress
/
dead-int32-to-double.js
blob: 0713fd67814d1f02e6d7e233776188c94a63b3bd [
file
] [
log
] [
blame
]
function
foo
(
int
,
o
)
{
var
x
=
int
;
o
.
f
=
x
;
for
(
var
i
=
0
;
i
<
100
;
++
i
)
x
+=
0.5
;
}
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
;