summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/nodes.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-03-18 11:58:24 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-03-18 11:58:24 +0000
commit43c86422e210a3883729ab90997711e79f26bccc (patch)
tree6d6697e11ebf1c39fcb129baeeaa9bc7bbace9ed /compiler/optimizing/nodes.cc
parenta48850ba1f48066785768d2dd296448cd430d494 (diff)
downloadart-43c86422e210a3883729ab90997711e79f26bccc.zip
art-43c86422e210a3883729ab90997711e79f26bccc.tar.gz
art-43c86422e210a3883729ab90997711e79f26bccc.tar.bz2
Fix lint error, and Makefile that could be confused with local files.
Change-Id: I780cc0d6593eadd6f82e1126d7ad445894af666c
Diffstat (limited to 'compiler/optimizing/nodes.cc')
-rw-r--r--compiler/optimizing/nodes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc
index b8b4a3b..498deba 100644
--- a/compiler/optimizing/nodes.cc
+++ b/compiler/optimizing/nodes.cc
@@ -122,7 +122,7 @@ void HGraph::VisitBlockForDominatorTree(HBasicBlock* block,
void HBasicBlock::AddInstruction(HInstruction* instruction) {
DCHECK(instruction->GetBlock() == nullptr);
- DCHECK(instruction->GetId() == -1);
+ DCHECK_EQ(instruction->GetId(), -1);
instruction->SetBlock(this);
instruction->SetId(GetGraph()->GetNextInstructionId());
if (first_instruction_ == nullptr) {