From 5a2301d897294ff4ee6de71f459dc2566dc3fa1a Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 18 Sep 2019 06:11:22 +0000 Subject: Revert "Basic structural redefinition support" This reverts commit c971eafeff43e4e26959a6e86b62ab0a8f1a6e1c. Bug: 134162467 Reason for revert: Breaks on redefine-stress Change-Id: I4e38da23d65b5b34b26b5ab537a3583328e078a4 --- runtime/mirror/class_ext.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'runtime/mirror/class_ext.cc') 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 h_this, Thread* self, uint3 return true; } -void ClassExt::SetObsoleteClass(ObjPtr klass) { - SetFieldObject(OFFSET_OF_OBJECT_MEMBER(ClassExt, obsolete_class_), klass); -} - ObjPtr ClassExt::Alloc(Thread* self) { return ObjPtr::DownCast(GetClassRoot()->AllocObject(self)); } -- cgit v1.2.3-59-g8ed1b