mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8
This commit is contained in:
1 parent
bda7a56564
commit
ba86250240
9 files changed
+343
-27
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user