From 1d8ec56f57559eea485c2b641e2aa31ede3dbe64 Mon Sep 17 00:00:00 2001 From: Brian Hackett <bhackett1024@gmail.com> Date: Wed, 5 Dec 2012 09:54:57 -0700 Subject: [PATCH] Fix test for incremental GC when triggering off thread compilation, bug 817635. r=billm --- js/src/ion/Ion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/ion/Ion.cpp b/js/src/ion/Ion.cpp index 488830e26213a..ec82dbbafcf63 100644 --- a/js/src/ion/Ion.cpp +++ b/js/src/ion/Ion.cpp @@ -1183,7 +1183,7 @@ SequentialCompileContext::compile(IonBuilder *builder, MIRGraph *graph, // incremental read barriers. if (js_IonOptions.parallelCompilation && OffThreadCompilationAvailable(cx) && - !IsIncrementalGCInProgress(cx->runtime)) + cx->runtime->gcIncrementalState == gc::NO_INCREMENTAL) { builder->script()->ion = ION_COMPILING_SCRIPT; -- GitLab