Sign in
webkit
/
WebKit
/
49e061d8a3dbe8c30f3935dcdd27d7b6b9ae2882
/
.
/
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
]);