diff options
| author | 2017-07-06 08:47:59 +0000 | |
|---|---|---|
| committer | 2017-07-06 08:47:59 +0000 | |
| commit | 209b4c7141d7da61790844cd58bd0a9bab2951d8 (patch) | |
| tree | 20819fa38ead6455301558143ed41f908bd581fd /compiler/driver/compiler_driver-inl.h | |
| parent | c2127b907a94e4128d3a812d75a6654ebfc098dc (diff) | |
| parent | f79aa7fc107c661e5a6d6ffd2a33221864fa1fa3 (diff) | |
Merge "Small refactoring of field/method access checks."
Diffstat (limited to 'compiler/driver/compiler_driver-inl.h')
| -rw-r--r-- | compiler/driver/compiler_driver-inl.h | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/compiler/driver/compiler_driver-inl.h b/compiler/driver/compiler_driver-inl.h index a04349e392..db95bd6e03 100644 --- a/compiler/driver/compiler_driver-inl.h +++ b/compiler/driver/compiler_driver-inl.h @@ -103,16 +103,16 @@ inline std::pair<bool, bool> CompilerDriver::IsFastInstanceField(  }  inline ArtMethod* CompilerDriver::ResolveMethod( -    ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, -    Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, -    uint32_t method_idx, InvokeType invoke_type, bool check_incompatible_class_change) { +    ScopedObjectAccess& soa, +    Handle<mirror::DexCache> dex_cache, +    Handle<mirror::ClassLoader> class_loader, +    const DexCompilationUnit* mUnit, +    uint32_t method_idx, +    InvokeType invoke_type) {    DCHECK_EQ(class_loader.Get(), mUnit->GetClassLoader().Get());    ArtMethod* resolved_method = -      check_incompatible_class_change -          ? mUnit->GetClassLinker()->ResolveMethod<ClassLinker::kForceICCECheck>( -              *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type) -          : mUnit->GetClassLinker()->ResolveMethod<ClassLinker::kNoICCECheckForCache>( -              *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type); +      mUnit->GetClassLinker()->ResolveMethod<ClassLinker::kForceICCECheck>( +          *dex_cache->GetDexFile(), method_idx, dex_cache, class_loader, nullptr, invoke_type);    if (UNLIKELY(resolved_method == nullptr)) {      DCHECK(soa.Self()->IsExceptionPending());      // Clean up any exception left by type resolution. |