diff options
author | Andreas Gampe <agampe@google.com> | 2014-09-11 08:30:08 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-09-15 19:50:12 -0700 |
commit | 5a4b8a236030460651a3136397d23ca6744e7eb7 (patch) | |
tree | 0e43891398e416d3fa77c7de391bf4db4408e8ee /runtime/field_helper.h | |
parent | 19f7c95491a053b818f914137fa73df0517b8792 (diff) | |
download | art-5a4b8a236030460651a3136397d23ca6744e7eb7.zip art-5a4b8a236030460651a3136397d23ca6744e7eb7.tar.gz art-5a4b8a236030460651a3136397d23ca6744e7eb7.tar.bz2 |
ART: Rename Handle hierarchy
Bring the names in line with normal OO principles: ConstHandle
becomes Handle, and Handle becomes MutableHandle.
Change-Id: I0f018eb7ba28bc422e3a23dd73a6cbe6fc2d2044
Diffstat (limited to 'runtime/field_helper.h')
-rw-r--r-- | runtime/field_helper.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/field_helper.h b/runtime/field_helper.h index 5eae55e..8097025 100644 --- a/runtime/field_helper.h +++ b/runtime/field_helper.h @@ -27,11 +27,6 @@ class FieldHelper { public: explicit FieldHelper(Handle<mirror::ArtField> f) : field_(f) {} - void ChangeField(mirror::ArtField* new_f) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - DCHECK(new_f != nullptr); - field_.Assign(new_f); - } - mirror::ArtField* GetField() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { return field_.Get(); } |