summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/arm/call_arm.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2014-06-06 14:50:36 +0100
committerVladimir Marko <vmarko@google.com>2014-06-12 18:25:00 +0100
commit8dea81ca9c0201ceaa88086b927a5838a06a3e69 (patch)
tree6a074462c1c13d23aa21cef3f4d2d1a7a880de32 /compiler/dex/quick/arm/call_arm.cc
parent3e1e549c564045d852ace46388eb06427d63e6ca (diff)
downloadart-8dea81ca9c0201ceaa88086b927a5838a06a3e69.tar.gz
art-8dea81ca9c0201ceaa88086b927a5838a06a3e69.tar.bz2
art-8dea81ca9c0201ceaa88086b927a5838a06a3e69.zip
Rewrite use/def masks to support 128 bits.
Reduce LIR memory usage by holding masks by pointers in the LIR rather than directly and using pre-defined const masks for the common cases, allocating very few on the arena. Change-Id: I0f6d27ef6867acd157184c8c74f9612cebfe6c16
Diffstat (limited to 'compiler/dex/quick/arm/call_arm.cc')
-rw-r--r--compiler/dex/quick/arm/call_arm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/quick/arm/call_arm.cc b/compiler/dex/quick/arm/call_arm.cc
index db0731f1ee..5466abd11d 100644
--- a/compiler/dex/quick/arm/call_arm.cc
+++ b/compiler/dex/quick/arm/call_arm.cc
@@ -87,7 +87,7 @@ void ArmMir2Lir::GenSparseSwitch(MIR* mir, uint32_t table_offset,
tab_rec->anchor = switch_branch;
// Needs to use setflags encoding here
OpRegRegImm(kOpSub, r_idx, r_idx, 1); // For value == 1, this should set flags.
- DCHECK(last_lir_insn_->u.m.def_mask & ENCODE_CCODE);
+ DCHECK(last_lir_insn_->u.m.def_mask->HasBit(ResourceMask::kCCode));
OpCondBranch(kCondNe, target);
}