mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 22:42:40 +00: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:
1 parent
5038218cea
commit
9266f867f9
463 files changed
+7401
-4939
No files matched your search
@@ -1359,6 +1359,7 @@ static auto TryEvalInstInContext(EvalContext& eval_context,
|
||||
case SemIR::BindValue::Kind:
|
||||
case SemIR::Deref::Kind:
|
||||
case SemIR::ImportRefLoaded::Kind:
|
||||
case SemIR::ReturnSlot::Kind:
|
||||
case SemIR::Temporary::Kind:
|
||||
case SemIR::TemporaryStorage::Kind:
|
||||
case SemIR::ValueAsRef::Kind:
|
||||
@@ -1492,8 +1493,9 @@ static auto TryEvalInstInContext(EvalContext& eval_context,
|
||||
case SemIR::RequirementEquivalent::Kind:
|
||||
case SemIR::RequirementImpls::Kind:
|
||||
case SemIR::RequirementRewrite::Kind:
|
||||
case SemIR::ReturnExpr::Kind:
|
||||
case SemIR::Return::Kind:
|
||||
case SemIR::ReturnExpr::Kind:
|
||||
case SemIR::ReturnSlotPattern::Kind:
|
||||
case SemIR::StructLiteral::Kind:
|
||||
case SemIR::TupleLiteral::Kind:
|
||||
case SemIR::VarStorage::Kind:
|
||||
|
||||
Reference in new issue
Block a user