summaryrefslogtreecommitdiffstats
path: root/compiler/driver
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-06-28 17:30:16 +0100
committerVladimir Marko <vmarko@google.com>2018-06-28 17:55:01 +0100
commitbb089b6bf850c87e0e42917a383cc7298dcb09c5 (patch)
tree9076775ab1a00bf7321a6b4a457ddd81f20c10c1 /compiler/driver
parentb5271dd44a30f498689e503340d3c8d01bf31f07 (diff)
downloadart-bb089b6bf850c87e0e42917a383cc7298dcb09c5.tar.gz
art-bb089b6bf850c87e0e42917a383cc7298dcb09c5.tar.bz2
art-bb089b6bf850c87e0e42917a383cc7298dcb09c5.zip
Remove CompilerDriver::support_boot_image_fixup_.
Check for non-PIC boot image as a testing config instead. Honor the config for HInvokeStaticOrDirect sharpening. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: I3645f4fefe322f1fd64ea88a2b41a35ceccea688
Diffstat (limited to 'compiler/driver')
-rw-r--r--compiler/driver/compiler_driver.cc1
-rw-r--r--compiler/driver/compiler_driver.h10
2 files changed, 0 insertions, 11 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 7c13894a2c..7e6fdaf633 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -277,7 +277,6 @@ CompilerDriver::CompilerDriver(
parallel_thread_count_(thread_count),
stats_(new AOTCompilationStats),
compiler_context_(nullptr),
- support_boot_image_fixup_(true),
compiled_method_storage_(swap_fd),
profile_compilation_info_(profile_compilation_info),
max_arena_alloc_(0),
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 8739dc3a35..0a8754a6a6 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -267,14 +267,6 @@ class CompilerDriver {
const VerifiedMethod* GetVerifiedMethod(const DexFile* dex_file, uint32_t method_idx) const;
bool IsSafeCast(const DexCompilationUnit* mUnit, uint32_t dex_pc);
- bool GetSupportBootImageFixup() const {
- return support_boot_image_fixup_;
- }
-
- void SetSupportBootImageFixup(bool support_boot_image_fixup) {
- support_boot_image_fixup_ = support_boot_image_fixup;
- }
-
void SetCompilerContext(void* compiler_context) {
compiler_context_ = compiler_context;
}
@@ -493,8 +485,6 @@ class CompilerDriver {
void* compiler_context_;
- bool support_boot_image_fixup_;
-
CompiledMethodStorage compiled_method_storage_;
// Info for profile guided compilation.