commit | 9f612ffab2b188d80027d961d7118eb2c461b5ad | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Nov 24 13:42:22 2014 -0800 |
committer | Andreas Gampe <agampe@google.com> | Mon Nov 24 13:43:11 2014 -0800 |
tree | aa5a5c83810b13f726b16670bc4442a4f271ee55 | |
parent | c6c88d2079f0d47eb86a2e2e2f53cab25b0503c1 [diff] [blame] |
ART: Fix unused variables and functions Change-Id: Icbab884d2dfd71656347368b424cb35cbf524051
diff --git a/compiler/utils/arm/assembler_arm.cc b/compiler/utils/arm/assembler_arm.cc index 9c84bc1..0f28591 100644 --- a/compiler/utils/arm/assembler_arm.cc +++ b/compiler/utils/arm/assembler_arm.cc
@@ -205,10 +205,9 @@ encoding = am_ | offset_; } } else { - uint32_t imm5 = offset_; uint32_t shift = shift_; if (shift == RRX) { - imm5 = 0; + CHECK_EQ(offset_, 0); shift = ROR; } encoding = am_ | static_cast<uint32_t>(rm_) | shift << 5 | offset_ << 7 | B25;