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