blob: 2f75dbbc50303d361f2a1e4e1841ccea58efdf59 [file] [log] [blame]
//@ runDefault("--jitPolicyScale=0")
let obj = {
p: [{
q: [{
x: 0,
w: [{
y: [{
a: [ {
b: [{
c: [{
d: [{}, {}, {}]
}]
}]
}]
}, {}, {}]
}]
}]
}]
};
function dumpObj(obj) {
let output = '' ** ''
mallocInALoop();
mallocInALoop();
for (let item in obj) {
let child = obj[item];
output += dumpObj(child);
}
return output;
}
noInline(dumpObj);
dumpObj(obj);