Index: src/compiler/escape-analysis-reducer.cc |
diff --git a/src/compiler/escape-analysis-reducer.cc b/src/compiler/escape-analysis-reducer.cc |
index d997813d013b58339f9ea6ef7f9bd6627ed84daa..f7708f85da26d1d551f174c323e796fa67a85e6e 100644 |
--- a/src/compiler/escape-analysis-reducer.cc |
+++ b/src/compiler/escape-analysis-reducer.cc |
@@ -327,7 +327,8 @@ Node* EscapeAnalysisReducer::ReduceStateValueInput(Node* node, int node_index, |
if (escape_analysis()->IsCyclicObjectState(effect, input)) { |
// TODO(mstarzinger): Represent cyclic object states differently to |
// ensure the scheduler can properly handle such object states. |
- FATAL("Cyclic object state detected by escape analysis."); |
+ compilation_failed_ = true; |
+ return nullptr; |
} |
if (Node* object_state = |
escape_analysis()->GetOrCreateObjectState(effect, input)) { |