Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
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
;