summaryrefslogtreecommitdiff
path: root/compiler/dex/mir_optimization_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2014-05-30 10:35:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-05-30 10:35:30 +0000
commitb827c44f39f66fce600408f82988d6e154627ba7 (patch)
tree37b2f537fca7ba56cb787913557ee12d6e533d55 /compiler/dex/mir_optimization_test.cc
parent29b53d3d715b1ec19349e8cbf7c5e4ff529bd5fe (diff)
parent2469e60e6ff08c2a0b4cd1e209246c5d91027679 (diff)
Merge "ART: Setting up cleanup"
Diffstat (limited to 'compiler/dex/mir_optimization_test.cc')
-rw-r--r--compiler/dex/mir_optimization_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/mir_optimization_test.cc b/compiler/dex/mir_optimization_test.cc
index 86092b6e3d..69c394f168 100644
--- a/compiler/dex/mir_optimization_test.cc
+++ b/compiler/dex/mir_optimization_test.cc
@@ -193,7 +193,7 @@ class ClassInitCheckEliminationTest : public testing::Test {
ASSERT_TRUE(gate_result);
RepeatingPreOrderDfsIterator iterator(cu_.mir_graph.get());
bool change = false;
- for (BasicBlock *bb = iterator.Next(change); bb != 0; bb = iterator.Next(change)) {
+ for (BasicBlock* bb = iterator.Next(change); bb != nullptr; bb = iterator.Next(change)) {
change = cu_.mir_graph->EliminateClassInitChecks(bb);
}
cu_.mir_graph->EliminateClassInitChecksEnd();