summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r--compiler/optimizing/optimizing_compiler.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc
index b15657355f..cb9933c9c0 100644
--- a/compiler/optimizing/optimizing_compiler.cc
+++ b/compiler/optimizing/optimizing_compiler.cc
@@ -256,7 +256,6 @@ class OptimizingCompiler final : public Compiler {
CompiledMethod* Compile(const dex::CodeItem* code_item,
uint32_t access_flags,
- InvokeType invoke_type,
uint16_t class_def_idx,
uint32_t method_idx,
Handle<mirror::ClassLoader> class_loader,
@@ -1068,7 +1067,6 @@ CodeGenerator* OptimizingCompiler::TryCompileIntrinsic(
CompiledMethod* OptimizingCompiler::Compile(const dex::CodeItem* code_item,
uint32_t access_flags,
- InvokeType invoke_type,
uint16_t class_def_idx,
uint32_t method_idx,
Handle<mirror::ClassLoader> jclass_loader,
@@ -1086,9 +1084,7 @@ CompiledMethod* OptimizingCompiler::Compile(const dex::CodeItem* code_item,
{
ScopedObjectAccess soa(Thread::Current());
ArtMethod* method =
- runtime->GetClassLinker()->ResolveMethod<ClassLinker::ResolveMode::kCheckICCEAndIAE>(
- method_idx, dex_cache, jclass_loader, /*referrer=*/ nullptr, invoke_type);
- DCHECK_EQ(method == nullptr, soa.Self()->IsExceptionPending());
+ runtime->GetClassLinker()->ResolveMethodId(method_idx, dex_cache, jclass_loader);
soa.Self()->ClearException(); // Suppress exception if any.
VariableSizedHandleScope handles(soa.Self());
Handle<mirror::Class> compiling_class =