mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Issue #1742 - Part 5: Remove unnecessary GCPtr::unbarrieredGet
Ref: BZ 1323441
This commit is contained in:
parent
e632fc1e8c
commit
1cdbf6eb6a
4 changed files with 3 additions and 7 deletions
|
|
@ -290,7 +290,7 @@ NativeObject::setSlotWithType(ExclusiveContext* cx, Shape* shape,
|
|||
inline void
|
||||
NativeObject::updateShapeAfterMovingGC()
|
||||
{
|
||||
Shape* shape = shape_.unbarrieredGet();
|
||||
Shape* shape = shape_;
|
||||
if (IsForwarded(shape))
|
||||
shape_.unsafeSet(Forwarded(shape));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue