mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
Rename singleton InstId constants to TypeInstId (#5323)
These constant instructions are all TypeInstId already in their type, and this makes their names match. Change the name of MakeSingletonInstId as well and update its comment.
This commit is contained in:
@@ -49,7 +49,7 @@ auto HandleParseNode(Context& context, Parse::ArrayExprId node_id) -> bool {
|
||||
|
||||
bound_inst_id = ConvertToValueOfType(
|
||||
context, context.insts().GetLocId(bound_inst_id), bound_inst_id,
|
||||
GetSingletonType(context, SemIR::IntLiteralType::InstId));
|
||||
GetSingletonType(context, SemIR::IntLiteralType::TypeInstId));
|
||||
AddInstAndPush<SemIR::ArrayType>(
|
||||
context, node_id,
|
||||
{.type_id = SemIR::TypeType::TypeId,
|
||||
|
||||
Reference in New Issue
Block a user