diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2014-05-09 11:45:53 -0700 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2014-05-09 11:50:32 -0700 |
commit | 25023c744c4388a6459b21cc3babf8c602b024a2 (patch) | |
tree | 6d266d8eb8ed442e1dfeb5102ed9ed38a5ee83d9 /runtime/mirror/class.cc | |
parent | 3d1e6642d350e23fa85d4cfcb03413a576880396 (diff) | |
download | art-25023c744c4388a6459b21cc3babf8c602b024a2.zip art-25023c744c4388a6459b21cc3babf8c602b024a2.tar.gz art-25023c744c4388a6459b21cc3babf8c602b024a2.tar.bz2 |
Make it possible to disable read barriers in Class::GetObjectSize()
This is a leftover from cl/91831 (commit
9103c86a98524e9ddfd14f8cee56e919f68eee9b) that attempted to make it
possible to disable read barriers in Object::SizeOf().
Bug: 12687968
Change-Id: I2b05076832936881ec61bc21b6eb6b7c04e0a1f0
Diffstat (limited to 'runtime/mirror/class.cc')
-rw-r--r-- | runtime/mirror/class.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/mirror/class.cc b/runtime/mirror/class.cc index 662303e..ff63782 100644 --- a/runtime/mirror/class.cc +++ b/runtime/mirror/class.cc @@ -315,11 +315,6 @@ bool Class::IsInSamePackage(Class* that) { ClassHelper(klass2).GetDescriptor()); } -bool Class::IsClassClass() { - Class* java_lang_Class = GetClass()->GetClass(); - return this == java_lang_Class; -} - bool Class::IsStringClass() const { return this == String::GetJavaLangString(); } |