summaryrefslogtreecommitdiff
path: root/runtime/class_table.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-10-15 20:25:48 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-10-15 20:25:48 +0000
commitc926e2623d15150171f08558adfde9837571f77d (patch)
tree332414645b255061fa679c0999bbe312f8ef17f8 /runtime/class_table.cc
parent710d785a56c7bacb370d61a244cbf2d69108f9e1 (diff)
parent147a47ccba89aba78956be4065804b6a404c66a8 (diff)
Merge "Revert "Fix issues due to updated toolchain.""
Diffstat (limited to 'runtime/class_table.cc')
-rw-r--r--runtime/class_table.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/class_table.cc b/runtime/class_table.cc
index a233357249..8d8e93aab0 100644
--- a/runtime/class_table.cc
+++ b/runtime/class_table.cc
@@ -57,12 +57,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.
@@ -88,8 +82,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;