commit 4f1d962f0a3435ce74bfa528fa29516cc41de9b3
parent 12d2f3d8575d1b371033637eb891c8ba342ae6e9
Author: Alexandru Marc <amarc@mozilla.com>
Date: Fri, 24 Oct 2025 11:28:43 +0300
Revert "Bug 1995764: Suppress GC when trying to inline native getters in GetPropIRGenerator. r=jandem" for causing build bustages @ CacheIR.cpp
This reverts commit 05a63407bb5119cc91dfbe73171eacbdb47a29e4.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/js/src/jit/CacheIR.cpp b/js/src/jit/CacheIR.cpp
@@ -2454,11 +2454,6 @@ AttachDecision GetPropIRGenerator::tryAttachInlinableNativeGetter(
Handle<NativeObject*> holder, PropertyInfo prop, ValOperandId receiverId) {
MOZ_ASSERT(mode_ == ICState::Mode::Specialized);
- // Suppress GC because |CacheIRWriter::trace()| doesn't yet support stub
- // field tracing and stub fields were already added for shape and prototype
- // guards.
- gc::AutoSuppressGC suppressGC(cx_);
-
Rooted<JSFunction*> target(cx_, &holder->getGetter(prop)->as<JSFunction>());
MOZ_ASSERT(target->isNativeWithoutJitEntry());