summary refs log tree commit diff
path: root/arm64
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 /arm64
parent24d68e841f6c4adf0622b132f905e97d115a4e2d (diff)
downloadroux-85287081c4a25785dec1ec48c488a5879b3c37ac.tar.gz
dbgloc: add column argument
dbgloc line [col]

This is implemented in a backwards-compatible manner.
Diffstat (limited to 'arm64')
-rw-r--r--arm64/emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/emit.c b/arm64/emit.c
index 78a0358..990d839 100644
--- a/arm64/emit.c
+++ b/arm64/emit.c
@@ -447,7 +447,7 @@ emitins(Ins *i, E *e)
 			emitf("mov %=, sp", i, e);
 		break;
 	case Odbgloc:
-		emitdbgloc(i->arg[0].val, e->f);
+		emitdbgloc(i->arg[0].val, i->arg[1].val, e->f);
 		break;
 	}
 }