From b34f69ab43aaf7a6e6045c95f398baf566ef5023 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Fri, 7 Mar 2014 15:28:39 +0000 Subject: Add command line support for enabling the optimizing compiler. Also run tests with the optimizing compiler enabled when the file art/USE_OPTIMIZING_COMPILER is present. Change-Id: Ibc33eed62a43547bc3b9fe786d014c0d81b5add8 --- compiler/driver/compiler_driver.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'compiler/driver/compiler_driver.h') diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 26210c944c..771e359acc 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -26,7 +26,7 @@ #include "class_reference.h" #include "compiled_class.h" #include "compiled_method.h" -#include "compiler_backend.h" +#include "compiler.h" #include "dex_file.h" #include "instruction_set.h" #include "invoke_type.h" @@ -99,7 +99,7 @@ class CompilerDriver { explicit CompilerDriver(const CompilerOptions* compiler_options, VerificationResults* verification_results, DexFileToMethodInlinerMap* method_inliner_map, - CompilerBackend::Kind compiler_backend_kind, + Compiler::Kind compiler_kind, InstructionSet instruction_set, InstructionSetFeatures instruction_set_features, bool image, DescriptorSet* image_classes, @@ -137,8 +137,8 @@ class CompilerDriver { return *compiler_options_; } - CompilerBackend* GetCompilerBackend() const { - return compiler_backend_.get(); + Compiler* GetCompiler() const { + return compiler_.get(); } bool ProfilePresent() const { @@ -708,7 +708,7 @@ class CompilerDriver { VerificationResults* const verification_results_; DexFileToMethodInlinerMap* const method_inliner_map_; - UniquePtr compiler_backend_; + UniquePtr compiler_; const InstructionSet instruction_set_; const InstructionSetFeatures instruction_set_features_; -- cgit v1.2.3-59-g8ed1b