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