Sign in
webkit
/
WebKit
/
5c46bef7ab98d4e8242fd1cdbd4a8339e4d4801f
/
.
/
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
;