Bug 801957 - use isFull for gcFinalizeCallback. r=billm
authorAndrew McCreight <amccreight@mozilla.com>
Sat, 20 Oct 2012 11:26:28 -0700
changeset 111022 d1fd1af08f2f4c64d59ab9514ec79a7549278d4b
parent 111021 fd91167f3d932d68bcee4dd100e88948650aec01
child 111023 30dd8e889317bdd9ed56101d57f88ae87e9b5bf4
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersbillm
bugs801957
milestone19.0a1
Bug 801957 - use isFull for gcFinalizeCallback. r=billm
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -3911,17 +3911,17 @@ BeginSweepPhase(JSRuntime *rt)
 
     rt->gcSweepPhase = 0;
     rt->gcSweepCompartmentIndex = 0;
     rt->gcSweepKindIndex = 0;
 
     {
         gcstats::AutoPhase ap(rt->gcStats, gcstats::PHASE_FINALIZE_END);
         if (rt->gcFinalizeCallback)
-            rt->gcFinalizeCallback(&fop, JSFINALIZE_END, !rt->gcIsFull);
+            rt->gcFinalizeCallback(&fop, JSFINALIZE_END, !isFull);
     }
 }
 
 bool
 ArenaLists::foregroundFinalize(FreeOp *fop, AllocKind thingKind, SliceBudget &sliceBudget)
 {
     if (!arenaListsToSweep[thingKind])
         return true;