summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/RallocUtil.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-06-21 09:15:02 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-06-21 09:15:02 -0700
commit5937e047bd15b3ce48c95e0457e501ab6feb7234 (patch)
tree73dbd27330a1720bff179210fff6d260465071f6 /src/compiler/codegen/RallocUtil.cc
parent713b00e106f6f27142a3273acf496865729c936f (diff)
parent748474146da0c6484fa3dca0a700f612d47550c3 (diff)
Merge "Fix a bunch of lint." into ics-mr1-plus-art
Diffstat (limited to 'src/compiler/codegen/RallocUtil.cc')
-rw-r--r--src/compiler/codegen/RallocUtil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/RallocUtil.cc b/src/compiler/codegen/RallocUtil.cc
index 074fd26ca0..affb545aea 100644
--- a/src/compiler/codegen/RallocUtil.cc
+++ b/src/compiler/codegen/RallocUtil.cc
@@ -1003,7 +1003,7 @@ extern RegLocation oatGetRawSrc(CompilationUnit* cUnit, MIR* mir, int num)
}
extern RegLocation oatGetRawDest(CompilationUnit* cUnit, MIR* mir)
{
- DCHECK(mir->ssaRep->numDefs > 0);
+ DCHECK_GT(mir->ssaRep->numDefs, 0);
RegLocation res = cUnit->regLocation[mir->ssaRep->defs[0]];
DCHECK(!res.wide || mir->ssaRep->numDefs == 2);
return res;