diff options
author | Vladimir Marko <vmarko@google.com> | 2017-12-11 13:45:05 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2017-12-11 15:43:45 +0000 |
commit | 890111968fbd3f5ae528d97e42984c12a3dd27bd (patch) | |
tree | edb4ed38332a817b7d3037ea260856cec839dca9 /compiler/optimizing/instruction_builder.cc | |
parent | 0f13269734be07b5869005952a3cb91b0b34b73d (diff) |
Do not pass DexFile to ClassLinker::Lookup/ResolveMethod().
The DexFile can be easily retrieved from the DexCache,
so reduce the number of arguments that need to be passed.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: I2e47280e7cb8b84595130c4abfb5ece18d7f5c75
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
-rw-r--r-- | compiler/optimizing/instruction_builder.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index bce4de32d5..6fdb616ce2 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -796,7 +796,6 @@ ArtMethod* HInstructionBuilder::ResolveMethod(uint16_t method_idx, InvokeType in ArtMethod* resolved_method = class_linker->ResolveMethod<ClassLinker::ResolveMode::kCheckICCEAndIAE>( - *dex_compilation_unit_->GetDexFile(), method_idx, dex_compilation_unit_->GetDexCache(), class_loader, |