mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Rename BigInt to IntLiteral. (#4476)
In preparation for changing the type of integer literals to `IntLiteral`.
This commit is contained in:
@@ -208,7 +208,7 @@ static auto EmitAsConstant(ConstantContext& context, SemIR::IntValue inst)
|
||||
-> llvm::Constant* {
|
||||
auto* type = context.GetType(inst.type_id);
|
||||
|
||||
// BigInt is represented as an empty struct. All other integer types are
|
||||
// IntLiteral is represented as an empty struct. All other integer types are
|
||||
// represented as an LLVM integer type.
|
||||
if (!llvm::isa<llvm::IntegerType>(type)) {
|
||||
auto* struct_type = llvm::dyn_cast<llvm::StructType>(type);
|
||||
|
||||
Reference in New Issue
Block a user