diff options
Diffstat (limited to 'compiler/optimizing/bounds_check_elimination_test.cc')
-rw-r--r-- | compiler/optimizing/bounds_check_elimination_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/bounds_check_elimination_test.cc b/compiler/optimizing/bounds_check_elimination_test.cc index d5de3efa62..b6aaab5ef5 100644 --- a/compiler/optimizing/bounds_check_elimination_test.cc +++ b/compiler/optimizing/bounds_check_elimination_test.cc @@ -19,6 +19,7 @@ #include "gvn.h" #include "nodes.h" #include "optimizing_unit_test.h" +#include "side_effects_analysis.h" #include "utils/arena_allocator.h" #include "gtest/gtest.h" @@ -28,7 +29,7 @@ namespace art { static void RunGvn(HGraph* graph) { SideEffectsAnalysis side_effects(graph); side_effects.Run(); - GlobalValueNumberer(graph->GetArena(), graph, side_effects).Run(); + GVNOptimization(graph, side_effects).Run(); } // if (i < 0) { array[i] = 1; // Can't eliminate. } |