diff options
author | 2018-10-15 15:47:16 +0000 | |
---|---|---|
committer | 2018-10-15 15:47:48 +0000 | |
commit | 147a47ccba89aba78956be4065804b6a404c66a8 (patch) | |
tree | 5bc8e681ba46d8b5c5859a19210a157f3b9733f9 /runtime/class_table.cc | |
parent | 8de129774aeb8ad4ae0623e2d335cfd52e63f5c1 (diff) |
Revert "Fix issues due to updated toolchain."
Bug: http://b/35845221
This reverts commit 8de129774aeb8ad4ae0623e2d335cfd52e63f5c1.
Reason for revert: b/111579848 is fixed.
Test: Presubmit testing.
Change-Id: I68fda31b8f5e739b65bb89db2325b2d3e064c939
Diffstat (limited to 'runtime/class_table.cc')
-rw-r--r-- | runtime/class_table.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/class_table.cc b/runtime/class_table.cc index 7c3ad12b61..af4f998fdf 100644 --- a/runtime/class_table.cc +++ b/runtime/class_table.cc @@ -55,12 +55,6 @@ mirror::Class* ClassTable::LookupByDescriptor(ObjPtr<mirror::Class> klass) { return nullptr; } -// To take into account http://b/35845221 -#pragma clang diagnostic push -#if __clang_major__ < 4 -#pragma clang diagnostic ignored "-Wunreachable-code" -#endif - mirror::Class* ClassTable::UpdateClass(const char* descriptor, mirror::Class* klass, size_t hash) { WriterMutexLock mu(Thread::Current(), lock_); // Should only be updating latest table. @@ -86,8 +80,6 @@ mirror::Class* ClassTable::UpdateClass(const char* descriptor, mirror::Class* kl return existing; } -#pragma clang diagnostic pop - size_t ClassTable::CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, const ClassSet& set) const { size_t count = 0; |