Sign in
webkit
/
WebKit
/
a9c91ce2c5aea1dcbb1791839037fd37c48643d1
/
.
/
JSTests
/
stress
/
bigint-should-not-be-collected-while-creating.js
blob: 2eb4fa903926a0ca441500438c66712e9919fbd3 [
file
] [
log
] [
blame
]
//@ runDefault("--collectContinuously=1")
function
foo
(
a0
)
{
if
(
a0
==
0
)
{
return
}
let increment
=
10000n
function
bar
()
{
for
(
let i
=
0n
;
i
<
3000000000n
;
i
=
i
+
increment
);
}
bar
();
}
foo
(
0
);
foo
(
1
);