summaryrefslogtreecommitdiffstats
path: root/compiler/utils/arm/assembler_thumb2.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-02-13 19:23:55 -0800
committerAndreas Gampe <agampe@google.com>2015-02-18 16:50:22 -0800
commitab1eb0d1d047e3478ebb891e5259d2f1d1dd78bd (patch)
treea2d211ec81294adab2981d0179c8f04be3e8c8c4 /compiler/utils/arm/assembler_thumb2.cc
parent6e27f82193a8f54cd8ecdc8fb2c4c1adadafbaf4 (diff)
downloadandroid_art-ab1eb0d1d047e3478ebb891e5259d2f1d1dd78bd.tar.gz
android_art-ab1eb0d1d047e3478ebb891e5259d2f1d1dd78bd.tar.bz2
android_art-ab1eb0d1d047e3478ebb891e5259d2f1d1dd78bd.zip
ART: Templatize IsInt & IsUint
Ensure that things are used correctly. Change-Id: I76f082b32dcee28bbfb4c519daa401ac595873b3
Diffstat (limited to 'compiler/utils/arm/assembler_thumb2.cc')
-rw-r--r--compiler/utils/arm/assembler_thumb2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/utils/arm/assembler_thumb2.cc b/compiler/utils/arm/assembler_thumb2.cc
index 5383c28f82..6d0571e263 100644
--- a/compiler/utils/arm/assembler_thumb2.cc
+++ b/compiler/utils/arm/assembler_thumb2.cc
@@ -2080,7 +2080,7 @@ void Thumb2Assembler::vmstat(Condition cond) { // VMRS APSR_nzcv, FPSCR.
void Thumb2Assembler::svc(uint32_t imm8) {
- CHECK(IsUint(8, imm8)) << imm8;
+ CHECK(IsUint<8>(imm8)) << imm8;
int16_t encoding = B15 | B14 | B12 |
B11 | B10 | B9 | B8 |
imm8;
@@ -2089,7 +2089,7 @@ void Thumb2Assembler::svc(uint32_t imm8) {
void Thumb2Assembler::bkpt(uint16_t imm8) {
- CHECK(IsUint(8, imm8)) << imm8;
+ CHECK(IsUint<8>(imm8)) << imm8;
int16_t encoding = B15 | B13 | B12 |
B11 | B10 | B9 |
imm8;