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