diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-03-07 15:28:39 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-03-13 09:10:43 +0000 |
commit | b34f69ab43aaf7a6e6045c95f398baf566ef5023 (patch) | |
tree | 4090a650de1de3806f6273f3828e77bef9704453 /compiler/driver/compiler_driver.h | |
parent | 113f7a4b6093280e4783c69e06467f816a568e72 (diff) | |
download | art-b34f69ab43aaf7a6e6045c95f398baf566ef5023.zip art-b34f69ab43aaf7a6e6045c95f398baf566ef5023.tar.gz art-b34f69ab43aaf7a6e6045c95f398baf566ef5023.tar.bz2 |
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
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r-- | compiler/driver/compiler_driver.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index 26210c9..771e359 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<CompilerBackend> compiler_backend_; + UniquePtr<Compiler> compiler_; const InstructionSet instruction_set_; const InstructionSetFeatures instruction_set_features_; |