Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 591390231526124567d494905432b3a08cafd8b5..e000428089b6c8a94ec1f79c4d283a994cc5ba04 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -2772,7 +2772,7 @@ HBasicBlock* HGraph::CreateBasicBlock() { |
void HGraph::FinalizeUniqueness() { |
DisallowHeapAllocation no_gc; |
- ASSERT(!isolate()->optimizing_compiler_thread()->IsOptimizerThread()); |
+ ASSERT(!OptimizingCompilerThread::IsOptimizerThread(isolate())); |
for (int i = 0; i < blocks()->length(); ++i) { |
for (HInstructionIterator it(blocks()->at(i)); !it.Done(); it.Advance()) { |
it.Current()->FinalizeUniqueness(); |
@@ -10130,7 +10130,7 @@ void HTracer::TraceCompilation(CompilationInfo* info) { |
void HTracer::TraceLithium(const char* name, LChunk* chunk) { |
- ASSERT(!FLAG_concurrent_recompilation); |
+ ASSERT(!chunk->isolate()->concurrent_recompilation_enabled()); |
AllowHandleDereference allow_deref; |
AllowDeferredHandleDereference allow_deferred_deref; |
Trace(name, chunk->graph(), chunk); |
@@ -10138,7 +10138,7 @@ void HTracer::TraceLithium(const char* name, LChunk* chunk) { |
void HTracer::TraceHydrogen(const char* name, HGraph* graph) { |
- ASSERT(!FLAG_concurrent_recompilation); |
+ ASSERT(!graph->isolate()->concurrent_recompilation_enabled()); |
AllowHandleDereference allow_deref; |
AllowDeferredHandleDereference allow_deferred_deref; |
Trace(name, graph, NULL); |