зеркало из https://github.com/mozilla/gecko-dev.git
Bug 850922 - Don't put NULL getterobj/setterobj in the reloctable store buffers; r=billm
--HG-- extra : rebase_source : 21ac1e5d6cba8a0771c9612c304ff4206a29f902
This commit is contained in:
Родитель
9240526f3a
Коммит
db3df46fd6
|
@ -106,15 +106,17 @@ BaseShape::operator=(const BaseShape &other)
|
|||
getterObj = other.getterObj;
|
||||
GetterSetterWriteBarrierPost(runtime(), &getterObj);
|
||||
} else {
|
||||
if (rawGetter)
|
||||
GetterSetterWriteBarrierPostRemove(runtime(), &getterObj);
|
||||
rawGetter = other.rawGetter;
|
||||
GetterSetterWriteBarrierPostRemove(runtime(), &getterObj);
|
||||
}
|
||||
if (flags & HAS_SETTER_OBJECT) {
|
||||
setterObj = other.setterObj;
|
||||
GetterSetterWriteBarrierPost(runtime(), &setterObj);
|
||||
} else {
|
||||
if (rawSetter)
|
||||
GetterSetterWriteBarrierPostRemove(runtime(), &setterObj);
|
||||
rawSetter = other.rawSetter;
|
||||
GetterSetterWriteBarrierPostRemove(runtime(), &setterObj);
|
||||
}
|
||||
compartment_ = other.compartment_;
|
||||
return *this;
|
||||
|
|
Загрузка…
Ссылка в новой задаче