mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 20:11:12 +01:00
Remove InstId::Builtin members (#4632)
- `InstId::Builtin<Inst>` -> `<Inst>::SingletonInstId` - `InstId::PackageNamespace` -> `Namespace::PackageInstId`
This commit is contained in:
@@ -38,7 +38,7 @@ static auto DecayIntLiteralToSizedInt(Context& context, Parse::NodeId node_id,
|
||||
SemIR::InstId operand_id)
|
||||
-> SemIR::InstId {
|
||||
if (context.types().GetInstId(context.insts().Get(operand_id).type_id()) ==
|
||||
SemIR::InstId::BuiltinIntLiteralType) {
|
||||
SemIR::IntLiteralType::SingletonInstId) {
|
||||
operand_id = ConvertToValueOfType(
|
||||
context, node_id, operand_id,
|
||||
MakeIntType(context, node_id, SemIR::IntKind::Signed,
|
||||
|
||||
Reference in New Issue
Block a user