summaryrefslogtreecommitdiff
path: root/compiler/dex/vreg_analysis.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/dex/vreg_analysis.cc')
-rw-r--r--compiler/dex/vreg_analysis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/vreg_analysis.cc b/compiler/dex/vreg_analysis.cc
index a541c7d7a7..62c40892cf 100644
--- a/compiler/dex/vreg_analysis.cc
+++ b/compiler/dex/vreg_analysis.cc
@@ -442,7 +442,7 @@ void MIRGraph::InitRegLocations() {
for (int i = 0; i < GetNumSSARegs(); i++) {
loc[i] = fresh_loc;
loc[i].s_reg_low = i;
- loc[i].is_const = is_constant_v_->IsBitSet(i);
+ loc[i].is_const = false; // Constants will be marked by constant propagation pass later.
loc[i].wide = false;
}