diff options
author | David Brazdil <dbrazdil@google.com> | 2015-03-24 17:31:29 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-24 17:31:31 +0000 |
commit | b64b782f9ae7a94ecbbf64c83cbcdc7d716ba560 (patch) | |
tree | df3aa814ff7762d681c50781c413fd510440ae61 /compiler/optimizing/graph_checker.cc | |
parent | 2c2d00e8ca841aa2f57fa2f852e896378ef67144 (diff) | |
parent | 46e2a3915aa68c77426b71e95b9f3658250646b7 (diff) | |
download | art-b64b782f9ae7a94ecbbf64c83cbcdc7d716ba560.tar.gz art-b64b782f9ae7a94ecbbf64c83cbcdc7d716ba560.tar.bz2 art-b64b782f9ae7a94ecbbf64c83cbcdc7d716ba560.zip |
Merge "ART: Boolean simplifier"
Diffstat (limited to 'compiler/optimizing/graph_checker.cc')
-rw-r--r-- | compiler/optimizing/graph_checker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/graph_checker.cc b/compiler/optimizing/graph_checker.cc index 76b9f4fe7e..09a3ae431f 100644 --- a/compiler/optimizing/graph_checker.cc +++ b/compiler/optimizing/graph_checker.cc @@ -227,13 +227,13 @@ void SSAChecker::CheckLoop(HBasicBlock* loop_header) { } else { HLoopInformation* loop_information = loop_header->GetLoopInformation(); HBasicBlock* first_predecessor = loop_header->GetPredecessors().Get(0); - if (loop_information->IsBackEdge(first_predecessor)) { + if (loop_information->IsBackEdge(*first_predecessor)) { AddError(StringPrintf( "First predecessor of loop header %d is a back edge.", id)); } HBasicBlock* second_predecessor = loop_header->GetPredecessors().Get(1); - if (!loop_information->IsBackEdge(second_predecessor)) { + if (!loop_information->IsBackEdge(*second_predecessor)) { AddError(StringPrintf( "Second predecessor of loop header %d is not a back edge.", id)); |