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