mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:34:42 +01:00
Remove out of date comment (#5805)
Lazy vtable_ptrs were implemented in
967a98f845
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user