mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Model the return slot as an output parameter (#4432)
Also fix `Param` insts to have meaningful names in pretty-printing, to help clarify relationship with return slot.
This commit is contained in:
@@ -49,7 +49,7 @@ auto GlobalInit::Finalize() -> void {
|
||||
.extern_library_id = SemIR::LibraryNameId::Invalid,
|
||||
.non_owning_decl_id = SemIR::InstId::Invalid,
|
||||
.first_owning_decl_id = SemIR::InstId::Invalid},
|
||||
{.return_storage_id = SemIR::InstId::Invalid,
|
||||
{.return_slot_id = SemIR::InstId::Invalid,
|
||||
.body_block_ids = {SemIR::InstBlockId::GlobalInit}}}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user