Sign in
webkit
/
WebKit
/
e3756fe195267f9889fe31c80c4e1451419686b4
/
.
/
JSTests
/
stress
/
array-push-with-force-exit.js
blob: 3cec3fc7c5092fa6fdf741df20f58f96320657ef [
file
] [
log
] [
blame
]
var
createBuiltin
=
$vm
.
createBuiltin
;
var
target
=
createBuiltin
(`(
function
(
array
)
{
if
(
array
)
{
@idWithProfile
(
array
,
"SpecOther"
).
push
(
42
);
}
return
array
;
})`);
noInline
(
target
);
for
(
var
i
=
0
;
i
<
1e5
;
++
i
)
target
([
42
]);