summary refs log tree commit diff
path: root/amd64
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2024-01-02 11:09:18 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2024-01-02 12:12:05 +0100
commit85287081c4a25785dec1ec48c488a5879b3c37ac (patch)
tree83387b773a127d32498d9c9b356ed150fd77a780 /amd64
parent24d68e841f6c4adf0622b132f905e97d115a4e2d (diff)
downloadroux-85287081c4a25785dec1ec48c488a5879b3c37ac.tar.gz
dbgloc: add column argument
dbgloc line [col]

This is implemented in a backwards-compatible manner.
Diffstat (limited to 'amd64')
-rw-r--r--amd64/emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/emit.c b/amd64/emit.c
index 297cc76..51d1a5c 100644
--- a/amd64/emit.c
+++ b/amd64/emit.c
@@ -548,7 +548,7 @@ emitins(Ins i, Fn *fn, FILE *f)
 		emitcopy(i.arg[1], TMP(XMM0+15), i.cls, fn, f);
 		break;
 	case Odbgloc:
-		emitdbgloc(i.arg[0].val, f);
+		emitdbgloc(i.arg[0].val, i.arg[1].val, f);
 		break;
 	}
 }