diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-09-02 00:12:18 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-09-02 09:40:12 +0200 |
| commit | cf3a6fe0f539fd07d99701a06d0c3672ef0992c2 (patch) | |
| tree | e75964492541575c90f346fef42a0c4c98b96969 /src/link/Dwarf.zig | |
| parent | bb2eb4443034d0a8c051f5eef184062078502ae8 (diff) | |
| download | zig-cf3a6fe0f539fd07d99701a06d0c3672ef0992c2.tar.gz zig-cf3a6fe0f539fd07d99701a06d0c3672ef0992c2.zip | |
dwarf: fix copy-paste typo in variable lowering code for reg and stack
Diffstat (limited to 'src/link/Dwarf.zig')
| -rw-r--r-- | src/link/Dwarf.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/link/Dwarf.zig b/src/link/Dwarf.zig index 43eab54b54..252388cc8b 100644 --- a/src/link/Dwarf.zig +++ b/src/link/Dwarf.zig @@ -663,7 +663,6 @@ pub const DeclState = struct { switch (loc) { .register => |reg| { try dbg_info.ensureUnusedCapacity(4); - dbg_info.appendAssumeCapacity(@intFromEnum(AbbrevKind.parameter)); // DW.AT.location, DW.FORM.exprloc var expr_len = std.io.countingWriter(std.io.null_writer); if (reg < 32) { @@ -683,7 +682,6 @@ pub const DeclState = struct { .stack => |info| { try dbg_info.ensureUnusedCapacity(9); - dbg_info.appendAssumeCapacity(@intFromEnum(AbbrevKind.parameter)); // DW.AT.location, DW.FORM.exprloc var expr_len = std.io.countingWriter(std.io.null_writer); if (info.fp_register < 32) { |
