Skip to content
Snippets Groups Projects
Commit 1d8ec56f authored by Brian Hackett's avatar Brian Hackett
Browse files

Fix test for incremental GC when triggering off thread compilation, bug 817635. r=billm

parent 6ba7e978
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment