diff options
Diffstat (limited to 'test/497-inlining-and-class-loader/clear_dex_cache.cc')
-rw-r--r-- | test/497-inlining-and-class-loader/clear_dex_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/497-inlining-and-class-loader/clear_dex_cache.cc b/test/497-inlining-and-class-loader/clear_dex_cache.cc index 6c6a08f0dc..36ec4eb65c 100644 --- a/test/497-inlining-and-class-loader/clear_dex_cache.cc +++ b/test/497-inlining-and-class-loader/clear_dex_cache.cc @@ -48,7 +48,7 @@ extern "C" JNIEXPORT jobject JNICALL Java_Main_cloneResolvedMethods(JNIEnv* env, CHECK(array != nullptr); ObjPtr<mirror::Array> decoded_array = soa.Decode<mirror::Array>(array); for (size_t i = 0; i != num_methods; ++i) { - auto pair = mirror::DexCache::GetNativePairPtrSize(methods, i, kRuntimePointerSize); + auto pair = mirror::DexCache::GetNativePair(methods, i); uint32_t index = pair.index; ArtMethod* method = pair.object; if (sizeof(void*) == 4) { @@ -87,7 +87,7 @@ extern "C" JNIEXPORT void JNICALL Java_Main_restoreResolvedMethods( method = reinterpret_cast64<ArtMethod*>(long_array->Get(2u * i + 1u)); } mirror::MethodDexCachePair pair(method, index); - mirror::DexCache::SetNativePairPtrSize(methods, i, pair, kRuntimePointerSize); + mirror::DexCache::SetNativePair(methods, i, pair); } } |