Sign in
webkit
/
WebKit
/
f2ca8478512b6b671ac07982ba0b14fb66e64924
/
.
/
JSTests
/
stress
/
regress-170896-with-contiguous-shape-profile.js
blob: 77af04ada2630bcb8b0593d2b1f15233c7c5265d [
file
] [
log
] [
blame
]
function
test
()
{
let a
=
[,,,,,,,,,];
return
a
.
concat
();
}
noInline
(
test
);
test
()[
0
]
=
{};
// Set the ArrayAllocationProfile to ContiguousShape.
for
(
let i
=
0
;
i
<
20000
;
++
i
)
{
var
result
=
test
();
if
(
result
[
0
])
throw
result
.
toString
();
}