summaryrefslogtreecommitdiff
path: root/runtime/class_table.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_table.cc')
-rw-r--r--runtime/class_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_table.cc b/runtime/class_table.cc
index c854dc5fe1..cb87ee2f8a 100644
--- a/runtime/class_table.cc
+++ b/runtime/class_table.cc
@@ -56,7 +56,7 @@ ObjPtr<mirror::Class> ClassTable::UpdateClass(const char* descriptor,
// Should only be updating latest table.
DescriptorHashPair pair(descriptor, hash);
auto existing_it = classes_.back().FindWithHash(pair, hash);
- if (kIsDebugBuild && existing_it == classes_.back().end()) {
+ if (existing_it == classes_.back().end()) {
for (const ClassSet& class_set : classes_) {
if (class_set.FindWithHash(pair, hash) != class_set.end()) {
LOG(FATAL) << "Updating class found in frozen table " << descriptor;