mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:34:42 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user