| ... | @@ -12007,7 +12007,7 @@ pub fn debugExpression( | ... | @@ -12007,7 +12007,7 @@ pub fn debugExpression( |
| 12007 | self: *Builder, | 12007 | self: *Builder, |
| 12008 | elements: []const u32, | 12008 | elements: []const u32, |
| 12009 | ) Allocator.Error!Metadata { | 12009 | ) Allocator.Error!Metadata { |
| 12010 | try self.ensureUnusedMetadataCapacity(1, Metadata.Expression, elements.len * @sizeOf(u32)); | 12010 | try self.ensureUnusedMetadataCapacity(1, Metadata.Expression, elements.len); |
| 12011 | return self.debugExpressionAssumeCapacity(elements); | 12011 | return self.debugExpressionAssumeCapacity(elements); |
| 12012 | } | 12012 | } |
| 12013 | | 12013 | |
| ... | @@ -12015,7 +12015,7 @@ pub fn debugTuple( | ... | @@ -12015,7 +12015,7 @@ pub fn debugTuple( |
| 12015 | self: *Builder, | 12015 | self: *Builder, |
| 12016 | elements: []const Metadata, | 12016 | elements: []const Metadata, |
| 12017 | ) Allocator.Error!Metadata { | 12017 | ) Allocator.Error!Metadata { |
| 12018 | try self.ensureUnusedMetadataCapacity(1, Metadata.Tuple, elements.len * @sizeOf(Metadata)); | 12018 | try self.ensureUnusedMetadataCapacity(1, Metadata.Tuple, elements.len); |
| 12019 | return self.debugTupleAssumeCapacity(elements); | 12019 | return self.debugTupleAssumeCapacity(elements); |
| 12020 | } | 12020 | } |
| 12021 | | 12021 | |