diff options
| author | 2012-06-20 18:10:21 -0700 | |
|---|---|---|
| committer | 2012-06-21 09:14:27 -0700 | |
| commit | 748474146da0c6484fa3dca0a700f612d47550c3 (patch) | |
| tree | 58837d0fa82d4099eb4b82b2fd3d2bbf4294e4aa /src/compiler/codegen/RallocUtil.cc | |
| parent | 92e3134cd84c134f167175288671a1e6838c908f (diff) | |
Fix a bunch of lint.
There are still about 1800 lint warnings, so don't get too excited...
Change-Id: I2394bd6e750b94060231378b3a7a88b87f70c757
Diffstat (limited to 'src/compiler/codegen/RallocUtil.cc')
| -rw-r--r-- | src/compiler/codegen/RallocUtil.cc | 2 |
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; |