Address bug 684410 review comments, r=luke.

This commit is contained in:
Brian Hackett 2011-11-08 12:11:05 -08:00
parent 72511fd37d
commit 166e4ff20a

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 */