Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: src/compiler/escape-analysis.cc

Issue 1641923003: [turbofan] Remove unused code (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/escape-analysis.cc
diff --git a/src/compiler/escape-analysis.cc b/src/compiler/escape-analysis.cc
index 0a9c5aa00436c00c55aabf1918c7b12c26ae347a..efd80dff9450f1e36bb2179c6f2d0e430a2b736c 100644
--- a/src/compiler/escape-analysis.cc
+++ b/src/compiler/escape-analysis.cc
@@ -1044,15 +1044,6 @@ void EscapeAnalysis::ForwardVirtualState(Node* node) {
}
#endif // DEBUG
Node* effect = NodeProperties::GetEffectInput(node);
- // Break the cycle for effect phis.
- if (effect->opcode() == IrOpcode::kEffectPhi &&
- virtual_states_[effect->id()] == nullptr) {
- VirtualState* state =
- new (zone()) VirtualState(effect, zone(), AliasCount());
- virtual_states_[effect->id()] = state;
- TRACE("Effect Phi #%d got new virtual state %p.\n", effect->id(),
- static_cast<void*>(virtual_states_[effect->id()]));
- }
DCHECK_NOT_NULL(virtual_states_[effect->id()]);
if (virtual_states_[node->id()]) {
virtual_states_[node->id()]->UpdateFrom(virtual_states_[effect->id()],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698