Просмотр исходного кода

Remove out of date comment (#5805)

Lazy vtable_ptrs were implemented in
967a98f8450a3afff72d5d6654a965344441b465
David Blaikie 9 месяцев назад
Родитель
Сommit
e6214b946a
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      toolchain/check/import_ref.cpp

+ 0 - 2
toolchain/check/import_ref.cpp

@@ -1713,8 +1713,6 @@ static auto TryResolveTypedInst(ImportRefResolver& resolver,
                       ? GetLocalConstantInstId(resolver, import_class.adapt_id)
                       : SemIR::InstId::None;
   auto& new_class = resolver.local_classes().Get(class_id);
-  // TODO: Make vtable_ptr_id lazily loaded, so we pull in the vtable only when
-  // it's needed, not for every use of the class.
   auto vtable_ptr_const_id =
       import_class.vtable_ptr_id.has_value()
           ? AddImportRef(resolver, import_class.vtable_ptr_id)