Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-post-inc-then-exit.js
blob: 485f725de235d123404d3ec38c01cc1d3af8316e [
file
] [
log
] [
blame
]
description
(
"Tests what happens if you post-inc and then OSR exit."
);
function
foo
(
o
,
i
)
{
o
.
f
.
f
=
i
++;
}
for
(
var
i
=
0
;
i
<
100
;
++
i
)
{
var
o
=
{};
if
(
i
==
99
)
o
.
f
=
42
;
foo
({
f
:
o
},
0
);
shouldBe
(
"o.f"
,
"0"
);
}