Commit e1084094 authored by sigurds's avatar sigurds Committed by Commit bot

[turbofan] Remove unused code

With the new iteration strategy, sucessors of EffectPhis
are only visited once the effect phi has been processed.

BUG=v8:4586
LOG=n

Review URL: https://codereview.chromium.org/1641923003

Cr-Commit-Position: refs/heads/master@{#33586}
parent 5f42a625
......@@ -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()],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment