@@ -132,8 +132,9 @@ evaluation_order: ?*DependencyGraph.EvaluationOrder,
132132// Cached well-known identifiers for type checking
133133// (These are interned once during init to avoid repeated string comparisons during type checking)
134134
135- /// Interned identifier for "from_dec_digits" - used for decimal literal type checking
136- from_dec_digits_ident : Ident.Idx ,
135+ /// Padding for removed from_dec_digits_ident field (maintains struct layout for serialization)
136+ _padding_removed_from_dec_digits : u32 = 0 ,
137+
137138/// Interned identifier for "Try" - used for numeric literal type checking
138139try_ident : Ident.Idx ,
139140/// Interned identifier for "OutOfRange" - used for numeric literal type checking
@@ -231,7 +232,6 @@ pub fn init(gpa: std.mem.Allocator, source: []const u8) std.mem.Allocator.Error!
231232 var common = try CommonEnv .init (gpa , source );
232233
233234 // Intern well-known identifiers once during initialization for fast type checking
234- const from_dec_digits_ident = try common .insertIdent (gpa , Ident .for_text (Ident .FROM_DEC_DIGITS_METHOD_NAME ));
235235 const try_ident = try common .insertIdent (gpa , Ident .for_text ("Try" ));
236236 const out_of_range_ident = try common .insertIdent (gpa , Ident .for_text ("OutOfRange" ));
237237 const builtin_module_ident = try common .insertIdent (gpa , Ident .for_text ("Builtin" ));
@@ -281,7 +281,6 @@ pub fn init(gpa: std.mem.Allocator, source: []const u8) std.mem.Allocator.Error!
281281 .diagnostics = CIR.Diagnostic.Span { .span = base.DataSpan { .start = 0 , .len = 0 } },
282282 .store = try NodeStore .initCapacity (gpa , 10_000 ), // Default node store capacity
283283 .evaluation_order = null , // Will be set after canonicalization completes
284- .from_dec_digits_ident = from_dec_digits_ident ,
285284 .try_ident = try_ident ,
286285 .out_of_range_ident = out_of_range_ident ,
287286 .builtin_module_ident = builtin_module_ident ,
@@ -1718,7 +1717,7 @@ pub const Serialized = extern struct {
17181717 store : NodeStore.Serialized ,
17191718 module_kind : ModuleKind.Serialized ,
17201719 evaluation_order_reserved : u64 , // Reserved space for evaluation_order field (required for in-place deserialization cast)
1721- from_dec_digits_ident_reserved : u32 , // Reserved space for from_dec_digits_ident field (interned during deserialization )
1720+ _padding_removed_from_dec_digits : u32 = 0 , // Padding for removed from_dec_digits_ident field (maintains struct layout )
17221721 try_ident_reserved : u32 , // Reserved space for try_ident field (interned during deserialization)
17231722 out_of_range_ident_reserved : u32 , // Reserved space for out_of_range_ident field (interned during deserialization)
17241723 builtin_module_ident_reserved : u32 , // Reserved space for builtin_module_ident field (interned during deserialization)
@@ -1772,7 +1771,6 @@ pub const Serialized = extern struct {
17721771 self .module_name = .{ 0 , 0 };
17731772 self .module_name_idx_reserved = 0 ;
17741773 self .evaluation_order_reserved = 0 ;
1775- self .from_dec_digits_ident_reserved = 0 ;
17761774 self .try_ident_reserved = 0 ;
17771775 self .out_of_range_ident_reserved = 0 ;
17781776 self .builtin_module_ident_reserved = 0 ;
@@ -1828,7 +1826,6 @@ pub const Serialized = extern struct {
18281826 .store = self .store .deserialize (offset , gpa ).* ,
18291827 .evaluation_order = null , // Not serialized, will be recomputed if needed
18301828 // Well-known identifiers for type checking - look them up in the deserialized common env
1831- .from_dec_digits_ident = common .findIdent (Ident .FROM_DEC_DIGITS_METHOD_NAME ) orelse unreachable ,
18321829 .try_ident = common .findIdent ("Try" ) orelse unreachable ,
18331830 .out_of_range_ident = common .findIdent ("OutOfRange" ) orelse unreachable ,
18341831 .builtin_module_ident = common .findIdent ("Builtin" ) orelse unreachable ,
0 commit comments