summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2012-06-05 17:38:43 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-06-05 17:38:43 -0700
commit035a59bbf7b138e28d3aafab74b73548674dbf39 (patch)
treec76c118d96c697196adf6d77170a3911237c7d78 /src/object.h
parent2ab7f486ba73b2846bdbdde65cc2d41f62a26015 (diff)
parent262e5ffa1d4b23f23af3dea762a71a0af4bfd4a9 (diff)
Merge "Enable card cleaning" into ics-mr1-plus-art
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object.h b/src/object.h
index e787933744..9ad02a852d 100644
--- a/src/object.h
+++ b/src/object.h
@@ -1676,7 +1676,7 @@ class MANAGED Class : public StaticStorageBase {
SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, iftable_), new_iftable, false);
}
- // Get instance fields
+ // Get instance fields of the class (See also GetSFields).
ObjectArray<Field>* GetIFields() const {
DCHECK(IsLoaded() || IsErroneous());
return GetFieldObject<ObjectArray<Field>*>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), false);
@@ -1751,6 +1751,7 @@ class MANAGED Class : public StaticStorageBase {
SetField32(OFFSET_OF_OBJECT_MEMBER(Class, num_reference_static_fields_), new_num, false);
}
+ // Gets the static fields of the class.
ObjectArray<Field>* GetSFields() const {
DCHECK(IsLoaded() || IsErroneous());
return GetFieldObject<ObjectArray<Field>*>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), false);