blob: 27514dba295e00f50cbeb482db7b726d8333a0cc [file] [log] [blame]
//@ runDefault("--useConcurrentGC=false", "--useConcurrentJIT=false", "--thresholdForFTLOptimizeAfterWarmUp=1000")
var functions = [];
function boo() {
functions.push(new Function("a", "return a"));
return functions.splice(0);
}
function test() {
functions = boo().slice();
}
noDFG(boo);
noInline(boo);
noInline(test);
for (var i = 0; i < 10000; i++)
test();