summaryrefslogtreecommitdiffstats
path: root/js/src/gc
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-06-26 23:20:27 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 17:44:36 +0100
commitcec903c6b2fd64b076d4b3232ef8f6bf02eebead (patch)
tree8c21bb1f9bd1ed5b30f9f60a772deea0d8fe1bca /js/src/gc
parent548e31e1ed8512662d8c0676bd059766e884be8e (diff)
downloadUXP-cec903c6b2fd64b076d4b3232ef8f6bf02eebead.tar
UXP-cec903c6b2fd64b076d4b3232ef8f6bf02eebead.tar.gz
UXP-cec903c6b2fd64b076d4b3232ef8f6bf02eebead.tar.lz
UXP-cec903c6b2fd64b076d4b3232ef8f6bf02eebead.tar.xz
UXP-cec903c6b2fd64b076d4b3232ef8f6bf02eebead.zip
Remove AutoStopVerifyingBarriers RAII stub struct no longer in use.
Diffstat (limited to 'js/src/gc')
-rw-r--r--js/src/gc/GCInternals.h5
-rw-r--r--js/src/gc/Nursery.cpp1
2 files changed, 0 insertions, 6 deletions
diff --git a/js/src/gc/GCInternals.h b/js/src/gc/GCInternals.h
index 0d2bed0c1..4919b87a5 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 72530b31b..bce2b74aa 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<AutoEnterOOMUnsafeRegion> oomUnsafeRegion;