Procházet zdrojové kódy

Remove outdated comment about generic vtable inst naming (#5814)

Since vtables are generic over the class's specific, they don't have
their own generic/specific ids and so there's no generic insts that need
naming.
David Blaikie před 9 měsíci
rodič
revize
c2a0ee98c5
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      toolchain/sem_ir/inst_namer.cpp

+ 0 - 2
toolchain/sem_ir/inst_namer.cpp

@@ -134,8 +134,6 @@ InstNamer::InstNamer(const File* sem_ir) : sem_ir_(sem_ir) {
     GetScopeInfo(vtable_scope).name = globals_.AllocateName(
         *this, vtable_loc,
         sem_ir->names().GetIRBaseName(class_info.name_id).str() + ".vtable");
-    // TODO: Add support for generic vtables here and elsewhere.
-    // CollectNamesInGeneric(vtable_scope, vtable_info.generic_id);
   }
 
   // Build each interface scope.