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