Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index f9acb66c089b38d86bb1f15e753edb03a4a98fdc..fb91a9e2f5e1383927814c4c0b1e1273417d2934 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -372,10 +372,12 @@ |
} |
void AbortDueToDependencyChange() { |
+ DCHECK(!OptimizingCompilerThread::IsOptimizerThread(isolate())); |
aborted_due_to_dependency_change_ = true; |
} |
bool HasAbortedDueToDependencyChange() const { |
+ DCHECK(!OptimizingCompilerThread::IsOptimizerThread(isolate())); |
return aborted_due_to_dependency_change_; |
} |