summaryrefslogtreecommitdiff
path: root/js/src/vm/Shape-inl.h
diff options
context:
space:
mode:
authorJeremy Andrews <athenian200@outlook.com>2022-05-27 07:25:48 -0500
committerJeremy Andrews <athenian200@outlook.com>2022-05-27 07:25:48 -0500
commit7e570f010f82cc07c9e5c951e375d7479147ce6a (patch)
tree251bf4173cbf9944eae810b3a61b98a02e5476f5 /js/src/vm/Shape-inl.h
parent64ea1e09c2dfd09bf71738f08e15ec3d7d80e33b (diff)
downloaduxp-7e570f010f82cc07c9e5c951e375d7479147ce6a.tar.gz
Issue #1742 - Part 5: Remove unnecessary GCPtr::unbarrieredGet
Ref: BZ 1323441
Diffstat (limited to 'js/src/vm/Shape-inl.h')
-rw-r--r--js/src/vm/Shape-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/Shape-inl.h b/js/src/vm/Shape-inl.h
index ab16bfb192..7b7561220e 100644
--- a/js/src/vm/Shape-inl.h
+++ b/js/src/vm/Shape-inl.h
@@ -123,7 +123,7 @@ Shape::new_(ExclusiveContext* cx, Handle<StackShape> other, uint32_t nfixed)
inline void
Shape::updateBaseShapeAfterMovingGC()
{
- BaseShape* base = base_.unbarrieredGet();
+ BaseShape* base = base_;
if (IsForwarded(base))
base_.unsafeSet(Forwarded(base));
}