Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
debug
/
Memory-tenurePromotionsLog-04.js
blob: ff8586aae4bcbbb62feeef0c9cc207c313406341 [
file
] [
log
] [
blame
]
// Test draining tenure log without tracking tenures.
const
root
=
newGlobal
();
const
dbg
=
new
Debugger
(
root
);
let threw
=
false
;
try
{
dbg
.
drainTenurePromotionsLog
();
}
catch
(
e
)
{
threw
=
true
;
}
assertEq
(
threw
,
true
);