Class clean-up.
Move Class code out of native and into Java.
Remove ClassLinker::FindDexFile.
Change-Id: Idd9c4563d2c32e76690675242ff491276ace9848
diff --git a/src/object_utils.h b/src/object_utils.h
index 297035f..1bbb7bc 100644
--- a/src/object_utils.h
+++ b/src/object_utils.h
@@ -654,8 +654,7 @@
const DexFile* result = dex_file_;
if (result == NULL) {
const DexCache* dex_cache = GetDexCache();
- result = &GetClassLinker()->FindDexFile(dex_cache);
- dex_file_ = result;
+ result = dex_file_ = dex_cache->GetDexFile();
}
return *result;
}