summaryrefslogtreecommitdiff
path: root/compiler/dex/mir_optimization.cc
diff options
context:
space:
mode:
author Bill Buzbee <buzbee@android.com> 2014-05-06 21:56:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-05-06 21:56:18 +0000
commit80475df914f9dbdbb1f4b42e87e75d375d50a629 (patch)
treedb40a29f8c2a8d60fdc405ac4aa28d8c4990dc96 /compiler/dex/mir_optimization.cc
parentfc733a14e2b0eaf4ac0f386ac784706bf66de16c (diff)
parent0add77a86599260aba3ea4b56e9db3da6bb881a8 (diff)
Merge "ART: Ensure use counts updated when adding SSA reg"
Diffstat (limited to 'compiler/dex/mir_optimization.cc')
-rw-r--r--compiler/dex/mir_optimization.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/dex/mir_optimization.cc b/compiler/dex/mir_optimization.cc
index 5c1bdf4c40..5cc994f692 100644
--- a/compiler/dex/mir_optimization.cc
+++ b/compiler/dex/mir_optimization.cc
@@ -286,10 +286,6 @@ CompilerTemp* MIRGraph::GetNewCompilerTemp(CompilerTempType ct_type, bool wide)
reg_location_[ssa_reg_high].high_word = 1;
reg_location_[ssa_reg_high].s_reg_low = ssa_reg_low;
reg_location_[ssa_reg_high].wide = true;
-
- // A new SSA needs new use counts.
- use_counts_.Insert(0);
- raw_use_counts_.Insert(0);
}
num_non_special_compiler_temps_++;
@@ -302,10 +298,6 @@ CompilerTemp* MIRGraph::GetNewCompilerTemp(CompilerTempType ct_type, bool wide)
reg_location_[ssa_reg_low] = temp_loc;
reg_location_[ssa_reg_low].s_reg_low = ssa_reg_low;
reg_location_[ssa_reg_low].wide = wide;
-
- // A new SSA needs new use counts.
- use_counts_.Insert(0);
- raw_use_counts_.Insert(0);
}
compiler_temps_.Insert(compiler_temp);