Index: src/compiler/escape-analysis.cc |
diff --git a/src/compiler/escape-analysis.cc b/src/compiler/escape-analysis.cc |
index 8498007bd2aea54387a5f7ac6a2b69a5d54c8129..54939d4ca83eed7e03e696bb336a5bdec95b9d3c 100644 |
--- a/src/compiler/escape-analysis.cc |
+++ b/src/compiler/escape-analysis.cc |
@@ -168,7 +168,7 @@ |
void SetField(size_t offset, Node* node, bool created_phi = false) { |
fields_[offset] = node; |
- phi_[offset] = phi_[offset] || created_phi; |
+ phi_[offset] = created_phi; |
} |
bool IsTracked() const { return status_ & kTracked; } |
bool IsInitialized() const { return status_ & kInitialized; } |
@@ -494,8 +494,7 @@ |
size_t arity = at->opcode() == IrOpcode::kEffectPhi |
? at->op()->EffectInputCount() |
: at->op()->ValueInputCount(); |
- if (cache->fields().size() == arity && |
- (GetField(i) || !IsCreatedPhi(i))) { |
+ if (cache->fields().size() == arity) { |
changed = MergeFields(i, at, cache, graph, common) || changed; |
} else { |
if (GetField(i) != nullptr) { |