diff options
author | 2019-09-18 06:11:22 +0000 | |
---|---|---|
committer | 2019-09-18 06:12:13 +0000 | |
commit | 5a2301d897294ff4ee6de71f459dc2566dc3fa1a (patch) | |
tree | 2bd06ab3f463734994b3d251f6115514520dbb3f /runtime/mirror/class_ext.cc | |
parent | 4eb6eb40e88214fcc874d93e75660cb580cb4d58 (diff) |
Revert "Basic structural redefinition support"
This reverts commit c971eafeff43e4e26959a6e86b62ab0a8f1a6e1c.
Bug: 134162467
Reason for revert: Breaks on redefine-stress
Change-Id: I4e38da23d65b5b34b26b5ab537a3583328e078a4
Diffstat (limited to 'runtime/mirror/class_ext.cc')
-rw-r--r-- | runtime/mirror/class_ext.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/mirror/class_ext.cc b/runtime/mirror/class_ext.cc index 27dcea83c6..4c6cb4d840 100644 --- a/runtime/mirror/class_ext.cc +++ b/runtime/mirror/class_ext.cc @@ -25,8 +25,6 @@ #include "class_root.h" #include "dex/dex_file-inl.h" #include "gc/accounting/card_table-inl.h" -#include "mirror/object.h" -#include "mirror/object_array.h" #include "object-inl.h" #include "object_array-alloc-inl.h" #include "object_array-inl.h" @@ -103,10 +101,6 @@ bool ClassExt::ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint3 return true; } -void ClassExt::SetObsoleteClass(ObjPtr<Class> klass) { - SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_class_), klass); -} - ObjPtr<ClassExt> ClassExt::Alloc(Thread* self) { return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); } |