Sign in
webkit
/
WebKit
/
74a70b4650fbd719ba3c83ed49ad2fe62a266972
/
.
/
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
);
}