From 6490359381429343e22d30d9bf9f419729fba4b6 Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Wed, 9 May 2012 15:34:08 -0700 Subject: [PATCH] Bug 735944 - about:support should show 0 when incremental GC disabled (r=terrence) --- js/src/jsfriendapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsfriendapi.cpp b/js/src/jsfriendapi.cpp index 19a7ad69345..ece220ade1c 100644 --- a/js/src/jsfriendapi.cpp +++ b/js/src/jsfriendapi.cpp @@ -747,7 +747,7 @@ NotifyDidPaint(JSRuntime *rt) extern JS_FRIEND_API(bool) IsIncrementalGCEnabled(JSRuntime *rt) { - return rt->gcIncrementalEnabled; + return rt->gcIncrementalEnabled && rt->gcMode == JSGC_MODE_INCREMENTAL; } extern JS_FRIEND_API(void)