Index: src/hydrogen-escape-analysis.cc |
diff --git a/src/hydrogen-escape-analysis.cc b/src/hydrogen-escape-analysis.cc |
index 0e70bcdba5f67b2e184fa9f51fb360781717c408..00cfe278012265804fee661dfe33c971ea0d0c05 100644 |
--- a/src/hydrogen-escape-analysis.cc |
+++ b/src/hydrogen-escape-analysis.cc |
@@ -306,4 +306,13 @@ void HEscapeAnalysisPhase::PerformScalarReplacement() { |
} |
+void HEscapeAnalysisPhase::Run() { |
+ // TODO(mstarzinger): We disable escape analysis with OSR for now, because |
+ // spill slots might be uninitialized. Needs investigation. |
+ if (graph()->has_osr()) return; |
+ CollectCapturedValues(); |
+ PerformScalarReplacement(); |
+} |
+ |
+ |
} } // namespace v8::internal |