blob: b07408944e16a8fd3839340417c620f570cb7790 [file] [log] [blame]
//@ runDefault("--forceEagerCompilation=1", "--useConcurrentJIT=0")
function foo(x) {
if (x) {
return;
}
let obj = {
a: 0,
b: 0
};
foo(1);
let keys = Object.keys(obj);
foo();
keys.length
}
try {
foo();
} catch(e) {
if (e != "RangeError: Maximum call stack size exceeded.")
throw "FAILED";
}