From cec903c6b2fd64b076d4b3232ef8f6bf02eebead Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 23:20:27 +0200 Subject: Remove AutoStopVerifyingBarriers RAII stub struct no longer in use. --- js/src/gc/GCInternals.h | 5 ----- js/src/gc/Nursery.cpp | 1 - 2 files changed, 6 deletions(-) (limited to 'js/src/gc') diff --git a/js/src/gc/GCInternals.h b/js/src/gc/GCInternals.h index 0d2bed0c15..4919b87a54 100644 --- a/js/src/gc/GCInternals.h +++ b/js/src/gc/GCInternals.h @@ -61,11 +61,6 @@ class MOZ_RAII AutoPrepareForTracing AbortReason IsIncrementalGCUnsafe(JSRuntime* rt); -struct MOZ_RAII AutoStopVerifyingBarriers -{ - AutoStopVerifyingBarriers(JSRuntime*, bool) {} -}; - #ifdef JSGC_HASH_TABLE_CHECKS void CheckHashTablesAfterMovingGC(JSRuntime* rt); void CheckHeapAfterGC(JSRuntime* rt); diff --git a/js/src/gc/Nursery.cpp b/js/src/gc/Nursery.cpp index 72530b31b6..bce2b74aa5 100644 --- a/js/src/gc/Nursery.cpp +++ b/js/src/gc/Nursery.cpp @@ -596,7 +596,6 @@ js::Nursery::doCollection(JSRuntime* rt, JS::gcreason::Reason reason, { AutoTraceSession session(rt, JS::HeapState::MinorCollecting); AutoSetThreadIsPerformingGC performingGC; - AutoStopVerifyingBarriers av(rt, false); AutoDisableProxyCheck disableStrictProxyChecking(rt); mozilla::DebugOnly oomUnsafeRegion; -- cgit v1.2.3