Sign in
webkit
/
WebKit
/
34f5efbbe2903324708c7d6f83220e30b3f6ddd8
/
.
/
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
);