Implement BundleStore (#7173)

See
[here](https://docs.google.com/document/d/1eWW8MTko3PIqxZ32-GhsdaRSYqoDicxMB1VeessMTOg/edit?tab=t.0#heading=h.igl2myxbaf58)
for the background and design. The only usage of `BundleStore` in this
PR is artificial, but I'm working on a PR involving an action inst with
3 arguments, which requires something like `BundleStore`.
This commit is contained in:
Geoff Romer
2026-05-07 19:42:23 +00:00
committed by GitHub
parent 6776e2b804
commit 031ec0a140
31 changed files with 865 additions and 28 deletions
+5
View File
@@ -38,6 +38,11 @@ LLVM_DUMP_METHOD static auto Dump(const Context& context, Parse::NodeId node_id)
return Parse::Dump(context.parse_tree(), node_id);
}
LLVM_DUMP_METHOD static auto Dump(const Context& context,
SemIR::RawBundleId bundle_id) -> std::string {
return SemIR::Dump(context.sem_ir(), bundle_id);
}
LLVM_DUMP_METHOD static auto Dump(const Context& context,
SemIR::ClassId class_id) -> std::string {
return SemIR::Dump(context.sem_ir(), class_id);