diff options
| author | 2012-06-21 09:15:02 -0700 | |
|---|---|---|
| committer | 2012-06-21 09:15:02 -0700 | |
| commit | 5937e047bd15b3ce48c95e0457e501ab6feb7234 (patch) | |
| tree | 73dbd27330a1720bff179210fff6d260465071f6 /src/compiler/codegen/RallocUtil.cc | |
| parent | 713b00e106f6f27142a3273acf496865729c936f (diff) | |
| parent | 748474146da0c6484fa3dca0a700f612d47550c3 (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.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; |