Clarify CodeAndMethods to CodeAndDirectMethods
Change-Id: Ifa564ea25f4c7eb168f367274679a4915b9f4715
diff --git a/src/class_linker.h b/src/class_linker.h
index 306613f..5e3ac78 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -146,7 +146,7 @@
ObjectArray<T>* AllocObjectArray(size_t length) {
return ObjectArray<T>::Alloc(GetClassRoot(kObjectArrayClass), length);
}
- CodeAndMethods* AllocCodeAndMethods(size_t length);
+ CodeAndDirectMethods* AllocCodeAndDirectMethods(size_t length);
Class* CreatePrimitiveClass(const char* descriptor);
@@ -176,7 +176,8 @@
void LoadMethod(const DexFile& dex_file,
const DexFile::Method& dex_method,
Class* klass,
- Method* dst);
+ Method* dst,
+ bool is_direct);
Class* LookupClass(const StringPiece& descriptor, const ClassLoader* class_loader);