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