From 748474146da0c6484fa3dca0a700f612d47550c3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 20 Jun 2012 18:10:21 -0700 Subject: Fix a bunch of lint. There are still about 1800 lint warnings, so don't get too excited... Change-Id: I2394bd6e750b94060231378b3a7a88b87f70c757 --- src/compiler/codegen/RallocUtil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/codegen/RallocUtil.cc') 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; -- cgit v1.2.3-59-g8ed1b