diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-12-02 12:22:17 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-12-02 12:22:17 +0100 |
| commit | 3ec0520bac74cf750482abae0c8ce09344299613 (patch) | |
| tree | 8581b608feb1ec517315a29b5f3e0a7f6cd4a1ca /src/arch/wasm/CodeGen.zig | |
| parent | 8fea84f77ebc6805fe4558ae73064955dbfdcb64 (diff) | |
| download | zig-3ec0520bac74cf750482abae0c8ce09344299613.tar.gz zig-3ec0520bac74cf750482abae0c8ce09344299613.zip | |
dwarf: use common DI union object for arg and var gen
Diffstat (limited to 'src/arch/wasm/CodeGen.zig')
| -rw-r--r-- | src/arch/wasm/CodeGen.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/wasm/CodeGen.zig b/src/arch/wasm/CodeGen.zig index ddb1803998..6584ad2041 100644 --- a/src/arch/wasm/CodeGen.zig +++ b/src/arch/wasm/CodeGen.zig @@ -5327,7 +5327,7 @@ fn airDbgVar(func: *CodeGen, inst: Air.Inst.Index, is_ptr: bool) !void { log.debug(" var name = ({s})", .{name}); const atom = func.getDbgInfoAtom(); - const loc: link.File.Dwarf.DeclState.VarArgDbgInfoLoc = switch (operand) { + const loc: link.File.Dwarf.DeclState.DbgInfoLoc = switch (operand) { .local => |local| .{ .wasm_local = local.value }, else => blk: { log.debug("TODO generate debug info for {}", .{operand}); |
