Sign in
webkit
/
WebKit
/
34573b4327f502983405341f6edd2f8dcbc2cb0c
/
.
/
JSTests
/
stress
/
regress-187091.js
blob: ac819f7e3ed3a58457834401a28ce1f31476dcec [
file
] [
log
] [
blame
]
// This test should not crash.
function
foo
(
x
)
{
x
.
a0
=
0
;
Object
.
defineProperty
(
x
,
"a0"
,
{
value
:
42
});
x
.
a6
=
6
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
x
=
{
}
x
.
a1
=
1
;
x
.
a2
=
2
;
x
.
a3
=
3
;
x
.
a4
=
4
;
x
.
a7
=
7
;
x
.
a5
=
5
;
foo
(
x
);
}