summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-11-24 22:29:46 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-11-24 22:29:47 +0000
commitdd24fcf3e3e76ca2df7d00258e347cc2517fce48 (patch)
tree59f0a2c2d36d81af394efc5096b3c09430ee307c /compiler
parent385f00f85bbf3e83d1c84141a8ffd9d39165b799 (diff)
parentce41062ca468ae3abda9580098b4664b6474f605 (diff)
Merge "Revert "ART: Remove wrong DCHECK""
Diffstat (limited to 'compiler')
-rw-r--r--compiler/dex/quick/arm64/int_arm64.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/dex/quick/arm64/int_arm64.cc b/compiler/dex/quick/arm64/int_arm64.cc
index 0e00698388..e8ee28d902 100644
--- a/compiler/dex/quick/arm64/int_arm64.cc
+++ b/compiler/dex/quick/arm64/int_arm64.cc
@@ -483,6 +483,7 @@ bool Arm64Mir2Lir::SmallLiteralDivRem64(Instruction::Code dalvik_opcode, bool is
} else {
reconstructed_imm = base + 1;
}
+ DCHECK_EQ(reconstructed_imm, magic_table[lit].magic64) << " for literal " << lit;
}
// Load the magic constant in two instructions.