Temporarily skip escape analysis when compiling for OSR.
R=jkummerow@chromium.org TEST=mjsunit/compiler/escape-analysis --stress-compaction Review URL: https://codereview.chromium.org/23480028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16499 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1749bb620f
commit
037ef1132f
@ -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
|
} } // namespace v8::internal
|
||||||
|
@ -45,10 +45,7 @@ class HEscapeAnalysisPhase : public HPhase {
|
|||||||
cumulative_values_(0),
|
cumulative_values_(0),
|
||||||
block_states_(graph->blocks()->length(), zone()) { }
|
block_states_(graph->blocks()->length(), zone()) { }
|
||||||
|
|
||||||
void Run() {
|
void Run();
|
||||||
CollectCapturedValues();
|
|
||||||
PerformScalarReplacement();
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void CollectCapturedValues();
|
void CollectCapturedValues();
|
||||||
|
Loading…
Reference in New Issue
Block a user