Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8

This commit is contained in:
Steve Fink
2016-10-28 15:11:56 -07:00
parent bda7a56564
commit ba86250240
9 changed files with 343 additions and 27 deletions

View File

@@ -101,7 +101,7 @@ IdToObjectMap::has(const ObjectId& id, const JSObject* obj) const
auto p = table_.lookup(id);
if (!p)
return false;
return p->value().unbarrieredGet() == obj;
return p->value() == obj;
}
#endif