summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/ArchUtility.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-10-07 14:31:02 -0700
committer Elliott Hughes <enh@google.com> 2011-10-07 15:08:48 -0700
commitf5a7a476e7ea63e094ff0f011dccc170607e6f6b (patch)
tree4f07e57d5e3d2a82eeefcb7c6409f36b383b1d96 /src/compiler/codegen/arm/ArchUtility.cc
parentc2858561314513cc7bce2da7e13664aefef5a2ac (diff)
Enhance CHECK_EQ and friends to allow extra detail to be appended (like CHECK).
Change-Id: Iaa980892ab31621c8bcca9ea7c6c4ee743333f45
Diffstat (limited to 'src/compiler/codegen/arm/ArchUtility.cc')
-rw-r--r--src/compiler/codegen/arm/ArchUtility.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/arm/ArchUtility.cc b/src/compiler/codegen/arm/ArchUtility.cc
index edce1148ce..aef98faff5 100644
--- a/src/compiler/codegen/arm/ArchUtility.cc
+++ b/src/compiler/codegen/arm/ArchUtility.cc
@@ -122,7 +122,7 @@ STATIC void buildInsnString(const char* fmt, ArmLIR* lir, char* buf,
strcpy(tbuf, "!");
} else {
DCHECK_LT(fmt, fmtEnd);
- DCHECK((unsigned)(nc-'0') < 4);
+ DCHECK_LT((unsigned)(nc-'0'), 4U);
operand = lir->operands[nc-'0'];
switch(*fmt++) {
case 'H':