summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
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/optimizing/instruction_builder.cc
parentb5271dd44a30f498689e503340d3c8d01bf31f07 (diff)
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/optimizing/instruction_builder.cc')
-rw-r--r--compiler/optimizing/instruction_builder.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc
index 7cda6e9da3..7d918c47ca 100644
--- a/compiler/optimizing/instruction_builder.cc
+++ b/compiler/optimizing/instruction_builder.cc
@@ -1777,7 +1777,6 @@ void HInstructionBuilder::BuildLoadString(dex::StringIndex string_index, uint32_
new (allocator_) HLoadString(graph_->GetCurrentMethod(), string_index, *dex_file_, dex_pc);
HSharpening::ProcessLoadString(load_string,
code_generator_,
- compiler_driver_,
*dex_compilation_unit_,
handles_);
AppendInstruction(load_string);
@@ -1819,7 +1818,6 @@ HLoadClass* HInstructionBuilder::BuildLoadClass(dex::TypeIndex type_index,
HLoadClass::LoadKind load_kind = HSharpening::ComputeLoadClassKind(load_class,
code_generator_,
- compiler_driver_,
*dex_compilation_unit_);
if (load_kind == HLoadClass::LoadKind::kInvalid) {