diff options
| author | 2015-12-10 13:37:39 -0800 | |
|---|---|---|
| committer | 2015-12-10 13:37:39 -0800 | |
| commit | 2b895fd83371fb1a0cd75c7de3411cfb59f442c6 (patch) | |
| tree | 4ae775d15f51efb704ca5b00a2ee4b6fb6615812 /compiler/optimizing | |
| parent | 6e0e9c77b0b6109605eef6e5ea2c2b3de30a6ffc (diff) | |
| parent | 170e01a6b59b3242a5afc76c3a03c00ce288150f (diff) | |
Merge "Revert "ART: Check invoke-interface earlier in verifier""
am: 170e01a6b5
* commit '170e01a6b59b3242a5afc76c3a03c00ce288150f':
Revert "ART: Check invoke-interface earlier in verifier"
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/builder.cc | 2 | ||||
| -rw-r--r-- | compiler/optimizing/reference_type_propagation.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index e1404ce59c..b156d136ca 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -744,7 +744,7 @@ ArtMethod* HGraphBuilder::ResolveMethod(uint16_t method_idx, InvokeType invoke_t soa.Decode<mirror::ClassLoader*>(dex_compilation_unit_->GetClassLoader()))); Handle<mirror::Class> compiling_class(hs.NewHandle(GetCompilingClass())); - ArtMethod* resolved_method = class_linker->ResolveMethod<ClassLinker::kForceICCECheck>( + ArtMethod* resolved_method = class_linker->ResolveMethod( *dex_compilation_unit_->GetDexFile(), method_idx, dex_compilation_unit_->GetDexCache(), diff --git a/compiler/optimizing/reference_type_propagation.cc b/compiler/optimizing/reference_type_propagation.cc index fea903d9cf..dd349240f7 100644 --- a/compiler/optimizing/reference_type_propagation.cc +++ b/compiler/optimizing/reference_type_propagation.cc @@ -469,7 +469,7 @@ void RTPVisitor::SetClassAsTypeInfo(HInstruction* instr, // but then we would need to pass it to RTPVisitor just for this debug check. Since // the method is from the String class, the null loader is good enough. Handle<mirror::ClassLoader> loader; - ArtMethod* method = cl->ResolveMethod<ClassLinker::kNoICCECheckForCache>( + ArtMethod* method = cl->ResolveMethod( invoke->GetDexFile(), invoke->GetDexMethodIndex(), dex_cache, loader, nullptr, kDirect); DCHECK(method != nullptr); mirror::Class* declaring_class = method->GetDeclaringClass(); |