Revision: 16499
Author: [email protected]
Date: Tue Sep 3 10:58:07 2013 UTC
Log: Temporarily skip escape analysis when compiling for OSR.
[email protected]
TEST=mjsunit/compiler/escape-analysis --stress-compaction
Review URL: https://codereview.chromium.org/23480028
http://code.google.com/p/v8/source/detail?r=16499
Modified:
/branches/bleeding_edge/src/hydrogen-escape-analysis.cc
/branches/bleeding_edge/src/hydrogen-escape-analysis.h
=======================================
--- /branches/bleeding_edge/src/hydrogen-escape-analysis.cc Thu Aug 29
11:55:31 2013 UTC
+++ /branches/bleeding_edge/src/hydrogen-escape-analysis.cc Tue Sep 3
10:58:07 2013 UTC
@@ -304,6 +304,15 @@
ASSERT(!allocate->IsLinked());
}
}
+
+
+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
=======================================
--- /branches/bleeding_edge/src/hydrogen-escape-analysis.h Thu Aug 29
11:55:31 2013 UTC
+++ /branches/bleeding_edge/src/hydrogen-escape-analysis.h Tue Sep 3
10:58:07 2013 UTC
@@ -45,10 +45,7 @@
cumulative_values_(0),
block_states_(graph->blocks()->length(), zone()) { }
- void Run() {
- CollectCapturedValues();
- PerformScalarReplacement();
- }
+ void Run();
private:
void CollectCapturedValues();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.