diff options
| author | 2016-07-14 14:08:16 -0700 | |
|---|---|---|
| committer | 2016-07-15 18:09:46 -0700 | |
| commit | e9288851eb6b62ece28f510d978d3793723b9a51 (patch) | |
| tree | 3d422c4dfa7437b4891504ee452bf50b4852a9c5 /compiler/optimizing | |
| parent | 161c866ca742049f5c916696e1503c697be30e87 (diff) | |
Rename current register allocator implementation
This will allow a cleaner commit in an upcoming
refactoring of register allocation.
Test: m test-art-host
Change-Id: If420c97b088b3c934411ff83373e024003120746
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/codegen_test.cc | 2 | ||||
| -rw-r--r-- | compiler/optimizing/graph_visualizer.cc | 2 | ||||
| -rw-r--r-- | compiler/optimizing/inliner.cc | 2 | ||||
| -rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 2 | ||||
| -rw-r--r-- | compiler/optimizing/register_allocator_linear_scan.cc (renamed from compiler/optimizing/register_allocator.cc) | 2 | ||||
| -rw-r--r-- | compiler/optimizing/register_allocator_linear_scan.h (renamed from compiler/optimizing/register_allocator.h) | 6 | ||||
| -rw-r--r-- | compiler/optimizing/register_allocator_test.cc | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 6be79fa75c..6f487c5848 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -44,7 +44,7 @@ #include "nodes.h" #include "optimizing_unit_test.h" #include "prepare_for_register_allocation.h" -#include "register_allocator.h" +#include "register_allocator_linear_scan.h" #include "ssa_liveness_analysis.h" #include "utils.h" #include "utils/arm/managed_register_arm.h" diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc index e14f603fe1..0b4c569b05 100644 --- a/compiler/optimizing/graph_visualizer.cc +++ b/compiler/optimizing/graph_visualizer.cc @@ -31,7 +31,7 @@ #include "nodes.h" #include "optimization.h" #include "reference_type_propagation.h" -#include "register_allocator.h" +#include "register_allocator_linear_scan.h" #include "ssa_liveness_analysis.h" #include "utils/assembler.h" diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc index 6c1292cf66..03e82dd1b8 100644 --- a/compiler/optimizing/inliner.cc +++ b/compiler/optimizing/inliner.cc @@ -35,7 +35,7 @@ #include "nodes.h" #include "optimizing_compiler.h" #include "reference_type_propagation.h" -#include "register_allocator.h" +#include "register_allocator_linear_scan.h" #include "quick/inline_method_analyser.h" #include "sharpening.h" #include "ssa_builder.h" diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index d6e09d7acb..80affc3d66 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -81,7 +81,7 @@ #include "oat_quick_method_header.h" #include "prepare_for_register_allocation.h" #include "reference_type_propagation.h" -#include "register_allocator.h" +#include "register_allocator_linear_scan.h" #include "select_generator.h" #include "sharpening.h" #include "side_effects_analysis.h" diff --git a/compiler/optimizing/register_allocator.cc b/compiler/optimizing/register_allocator_linear_scan.cc index 1b33408b7e..90c845fb96 100644 --- a/compiler/optimizing/register_allocator.cc +++ b/compiler/optimizing/register_allocator_linear_scan.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "register_allocator.h" +#include "register_allocator_linear_scan.h" #include <iostream> #include <sstream> diff --git a/compiler/optimizing/register_allocator.h b/compiler/optimizing/register_allocator_linear_scan.h index 58600b789b..1a1248b55f 100644 --- a/compiler/optimizing/register_allocator.h +++ b/compiler/optimizing/register_allocator_linear_scan.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ART_COMPILER_OPTIMIZING_REGISTER_ALLOCATOR_H_ -#define ART_COMPILER_OPTIMIZING_REGISTER_ALLOCATOR_H_ +#ifndef ART_COMPILER_OPTIMIZING_REGISTER_ALLOCATOR_LINEAR_SCAN_H_ +#define ART_COMPILER_OPTIMIZING_REGISTER_ALLOCATOR_LINEAR_SCAN_H_ #include "arch/instruction_set.h" #include "base/arena_containers.h" @@ -243,4 +243,4 @@ class RegisterAllocator { } // namespace art -#endif // ART_COMPILER_OPTIMIZING_REGISTER_ALLOCATOR_H_ +#endif // ART_COMPILER_OPTIMIZING_REGISTER_ALLOCATOR_LINEAR_SCAN_H_ diff --git a/compiler/optimizing/register_allocator_test.cc b/compiler/optimizing/register_allocator_test.cc index a9de7c3e59..602a14ce36 100644 --- a/compiler/optimizing/register_allocator_test.cc +++ b/compiler/optimizing/register_allocator_test.cc @@ -24,7 +24,7 @@ #include "driver/compiler_options.h" #include "nodes.h" #include "optimizing_unit_test.h" -#include "register_allocator.h" +#include "register_allocator_linear_scan.h" #include "ssa_liveness_analysis.h" #include "ssa_phi_elimination.h" |