Sign in
webkit
/
WebKit
/
6372d18ed2fb0e5306b33bd85febb537c2fcf56a
/
.
/
JSTests
/
stress
/
array-push-with-force-exit.js
blob: e4363ac368fd051877b46ab8a9a174855032ead8 [
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
]);