diff options
author | 2016-09-30 08:52:28 +0000 | |
---|---|---|
committer | 2016-09-30 08:52:28 +0000 | |
commit | b4cf427734c6839b46d0d6037e3189a5e8aa1bdb (patch) | |
tree | b5f5d310edebdb8563c32af8e9b7f9e02c2e8268 /runtime/class_linker-inl.h | |
parent | 74a69eda053486e2d563f888a689586c5cfa7217 (diff) | |
parent | c38a6f8e8d18b85113d1a585235e997779583c80 (diff) |
Merge "dex_cache: rewrite StringDexCachePair as DexCachePair<T>"
Diffstat (limited to 'runtime/class_linker-inl.h')
-rw-r--r-- | runtime/class_linker-inl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/class_linker-inl.h b/runtime/class_linker-inl.h index d5b3090d32..51e5aae3d0 100644 --- a/runtime/class_linker-inl.h +++ b/runtime/class_linker-inl.h @@ -67,9 +67,9 @@ inline mirror::String* ClassLinker::ResolveString(uint32_t string_idx, ArtMethod // MethodVerifier refuses methods with string_idx out of bounds. DCHECK_LT(string_idx, declaring_class->GetDexFile().NumStringIds());; mirror::String* string = - mirror::StringDexCachePair::LookupString(declaring_class->GetDexCacheStrings(), - string_idx, - mirror::DexCache::kDexCacheStringCacheSize).Read(); + mirror::StringDexCachePair::Lookup(declaring_class->GetDexCacheStrings(), + string_idx, + mirror::DexCache::kDexCacheStringCacheSize).Read(); Thread::PoisonObjectPointersIfDebug(); if (UNLIKELY(string == nullptr)) { StackHandleScope<1> hs(Thread::Current()); |