Backout 5c4e5ee49fbe for bustage on a CLOSED TREE.

This commit is contained in:
Terrence Cole 2013-08-21 16:47:19 -07:00
parent cbb7aa23bc
commit 138f7551c4
2 changed files with 1 additions and 19 deletions

View File

@ -1,8 +0,0 @@
for (let y in []);
(function f(x) {
Float64Array(ArrayBuffer());
{
f(x)
function t() {}
}
})();

View File

@ -458,17 +458,7 @@ JSObject *
NewCallObject(JSContext *cx, HandleScript script,
HandleShape shape, HandleTypeObject type, HeapSlot *slots)
{
JSObject *obj = CallObject::create(cx, script, shape, type, slots);
#ifdef JSGC_GENERATIONAL
// The JIT creates call objects in the nursery, so elides barriers for
// the initializing writes. The interpreter, however, may have allocated
// the call object tenured, so barrier as needed before re-entering.
if (!IsInsideNursery(cx->runtime(), obj))
cx->runtime()->gcStoreBuffer.putWholeCell(obj);
#endif
return obj;
return CallObject::create(cx, script, shape, type, slots);
}
JSObject *