Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
JSTests
/
stress
/
regress-190515-2.js
blob: f76053ca40ff3712b1da6af6771d803099fae9f6 [
file
] [
log
] [
blame
]
//@ requireOptions("--jitPolicyScale=0")
// This test should not crash.
function
test
(
array
)
{
return
array
.
push
(
0
,
0.1
);
}
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
test
([])
}
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
test
([
0
])
}