OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
385f00f
)
Revert "ART: Remove wrong DCHECK"
author
Andreas Gampe
<agampe@google.com>
Mon, 24 Nov 2014 22:23:53 +0000
(14:23 -0800)
committer
Andreas Gampe
<agampe@google.com>
Mon, 24 Nov 2014 22:25:16 +0000
(22:25 +0000)
This reverts commit
5be30072c5a750617dc3f9380776d074f26d9f32
.
The underlying computation was fixed in AOSP before.
Bug:
17772057
Bug:
17763227
Bug:
17762845
compiler/dex/quick/arm64/int_arm64.cc
patch
|
blob
|
history
diff --git
a/compiler/dex/quick/arm64/int_arm64.cc
b/compiler/dex/quick/arm64/int_arm64.cc
index
0e00698
..
e8ee28d
100644
(file)
--- 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.