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