Remove out of date comment (#5805)

Lazy vtable_ptrs were implemented in
967a98f845
This commit is contained in:
David Blaikie
2025-07-15 14:03:41 +00:00
committed by GitHub
parent be487bbeda
commit e6214b946a
-2
View File
@@ -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)