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

This commit is contained in:
Steve Fink committed 2016-10-28 15:11:56 -07:00
1 parent bda7a56564
commit ba86250240
9 files changed
+343 -27

No files matched your search

+1 -1
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