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