commit | f5a7a476e7ea63e094ff0f011dccc170607e6f6b | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Oct 07 14:31:02 2011 -0700 |
committer | Elliott Hughes <enh@google.com> | Fri Oct 07 15:08:48 2011 -0700 |
tree | 4f07e57d5e3d2a82eeefcb7c6409f36b383b1d96 | |
parent | c2858561314513cc7bce2da7e13664aefef5a2ac [diff] [blame] |
Enhance CHECK_EQ and friends to allow extra detail to be appended (like CHECK). Change-Id: Iaa980892ab31621c8bcca9ea7c6c4ee743333f45
diff --git a/src/compiler/codegen/arm/ArchUtility.cc b/src/compiler/codegen/arm/ArchUtility.cc index edce114..aef98fa 100644 --- a/src/compiler/codegen/arm/ArchUtility.cc +++ b/src/compiler/codegen/arm/ArchUtility.cc
@@ -122,7 +122,7 @@ 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':