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