commit | ab1eb0d1d047e3478ebb891e5259d2f1d1dd78bd | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Feb 13 19:23:55 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Wed Feb 18 16:50:22 2015 -0800 |
tree | a2d211ec81294adab2981d0179c8f04be3e8c8c4 | |
parent | 6e27f82193a8f54cd8ecdc8fb2c4c1adadafbaf4 [diff] [blame] |
ART: Templatize IsInt & IsUint Ensure that things are used correctly. Change-Id: I76f082b32dcee28bbfb4c519daa401ac595873b3
diff --git a/compiler/utils/arm/assembler_arm32.cc b/compiler/utils/arm/assembler_arm32.cc index 8d1fb60..9579691 100644 --- a/compiler/utils/arm/assembler_arm32.cc +++ b/compiler/utils/arm/assembler_arm32.cc
@@ -1254,7 +1254,7 @@ void Arm32Assembler::svc(uint32_t imm24) { - CHECK(IsUint(24, imm24)) << imm24; + CHECK(IsUint<24>(imm24)) << imm24; int32_t encoding = (AL << kConditionShift) | B27 | B26 | B25 | B24 | imm24; Emit(encoding); }