summaryrefslogtreecommitdiffstats
path: root/js/src/jsgc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsgc.cpp')
-rw-r--r--js/src/jsgc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
index 4fa51417f..52a8c9f71 100644
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -6744,7 +6744,7 @@ JS::IsIncrementalGCEnabled(JSContext* cx)
JS_PUBLIC_API(bool)
JS::IsIncrementalGCInProgress(JSContext* cx)
{
- return cx->gc.isIncrementalGCInProgress() && !cx->gc.isVerifyPreBarriersEnabled();
+ return cx->gc.isIncrementalGCInProgress();
}
JS_PUBLIC_API(bool)