فهرست منبع

Dump the inst block with the specific (#5138)

Every time I dump a specific id, the next thing I do is dump the inst
block. This saves typing `SemIR::MakeInstBlockId(x)` all the time.
Dana Jansens 1 سال پیش
والد
کامیت
e7493d9112
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      toolchain/sem_ir/dump.cpp

+ 1 - 0
toolchain/sem_ir/dump.cpp

@@ -247,6 +247,7 @@ LLVM_DUMP_METHOD auto Dump(const File& file,
 LLVM_DUMP_METHOD auto Dump(const File& file, SpecificId specific_id) -> void {
   DumpNoNewline(file, specific_id);
   llvm::errs() << '\n';
+  Dump(file, file.specifics().Get(specific_id).args_id);
 }
 
 LLVM_DUMP_METHOD auto Dump(const File& file,