Bug 788096 - Undo part 1 (c77231ed11be) because it regressed Talos Trace Malloc Allocs by ~1%. r=me.

This commit is contained in:
Nicholas Nethercote
2012-09-05 23:03:31 -07:00
parent 9ba007920d
commit b63605316a
6 changed files with 42 additions and 37 deletions

View File

@@ -152,8 +152,7 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain, StackFrame *call
ObjectBox *funbox = parser.newObjectBox(callerFrame->fun());
if (!funbox)
return NULL;
if (!bce.objectList.append(funbox))
return NULL;
bce.objectList.add(funbox);
}
}