diff options
Diffstat (limited to 'runtime/runtime.cc')
| -rw-r--r-- | runtime/runtime.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 95995fb7b4..929bb5bbc8 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -1947,13 +1947,12 @@ void Runtime::SetImtUnimplementedMethod(ArtMethod* method) { void Runtime::FixupConflictTables() { // We can only do this after the class linker is created. const size_t pointer_size = GetClassLinker()->GetImagePointerSize(); - // Ones in image wont have correct tables. TODO: Fix. - if (imt_unimplemented_method_->GetImtConflictTable(pointer_size) == nullptr || (true)) { + if (imt_unimplemented_method_->GetImtConflictTable(pointer_size) == nullptr) { imt_unimplemented_method_->SetImtConflictTable( ClassLinker::CreateImtConflictTable(/*count*/0u, GetLinearAlloc(), pointer_size), pointer_size); } - if (imt_conflict_method_->GetImtConflictTable(pointer_size) == nullptr || (true)) { + if (imt_conflict_method_->GetImtConflictTable(pointer_size) == nullptr) { imt_conflict_method_->SetImtConflictTable( ClassLinker::CreateImtConflictTable(/*count*/0u, GetLinearAlloc(), pointer_size), pointer_size); |