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