summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-09-18 16:46:20 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2014-09-18 16:46:20 +0100
commitc83d441a722f0afb510c9cd0e69e09d65652143c (patch)
tree68ec67c519cfc3b4eb6e4bbefe2f2fa88a185c22 /compiler/optimizing/nodes.h
parentaaadf03fd8d9f6a50a3b8b4b916e7cc161e4edba (diff)
Fix a lint error and update a test after the phi fix.
Change-Id: I6e9ab2a8300c2493a8d3e93ab4ced3d7c9552fc5
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index a4c8ce50c3..aae65ec9c0 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -339,7 +339,7 @@ class HBasicBlock : public ArenaObject {
}
void SwapPredecessors() {
- DCHECK(predecessors_.Size() == 2);
+ DCHECK_EQ(predecessors_.Size(), 2u);
HBasicBlock* temp = predecessors_.Get(0);
predecessors_.Put(0, predecessors_.Get(1));
predecessors_.Put(1, temp);