summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index 31e999a282..fc7d0a52ab 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -2476,7 +2476,6 @@ void HBasicBlock::DisconnectAndDelete() {
// (7) Delete from the graph, update reverse post order.
graph_->DeleteDeadEmptyBlock(this);
- SetGraph(nullptr);
}
void HBasicBlock::DisconnectFromSuccessors(const ArenaBitVector* visited) {
@@ -2593,7 +2592,6 @@ void HBasicBlock::MergeWith(HBasicBlock* other) {
// Delete `other` from the graph. The function updates reverse post order.
graph_->DeleteDeadEmptyBlock(other);
- other->SetGraph(nullptr);
}
void HBasicBlock::MergeWithInlined(HBasicBlock* other) {