Address bug 684410 review comments, r=luke.

This commit is contained in:
Brian Hackett 2011-11-08 12:11:05 -08:00
parent 5bfbb57aea
commit 9e2894e93b

View File

@ -5721,7 +5721,7 @@ JSObject::hasNewType(TypeObject *type)
if (!table.initialized())
return false;
JSCompartment::NewTypeObjectSet::AddPtr p = table.lookupForAdd(this);
JSCompartment::NewTypeObjectSet::Ptr p = table.lookup(this);
return p && *p == type;
}
#endif /* DEBUG */