Clarify CodeAndMethods to CodeAndDirectMethods
Change-Id: Ifa564ea25f4c7eb168f367274679a4915b9f4715
diff --git a/src/object.h b/src/object.h
index 2cdfae2..51bf999 100644
--- a/src/object.h
+++ b/src/object.h
@@ -18,7 +18,7 @@
class Array;
class Class;
-class CodeAndMethods;
+class CodeAndDirectMethods;
class DexCache;
class Field;
class InterfaceEntry;
@@ -542,6 +542,10 @@
return shorty_[0] == 'V';
}
+ bool IsDirect() const {
+ return is_direct_;
+ }
+
// "Args" may refer to any of the 3 levels of "Args."
// To avoid confusion, our code will denote which "Args" clearly:
// 1. UserArgs: Args that a user see.
@@ -719,7 +723,9 @@
ObjectArray<Class>* dex_cache_types_;
ObjectArray<Method>* dex_cache_methods_;
ObjectArray<Field>* dex_cache_fields_;
- CodeAndMethods* dex_cache_code_and_methods_;
+ CodeAndDirectMethods* dex_cache_code_and_direct_methods_;
+
+ bool is_direct_;
private:
// Compiled code associated with this method