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

This is implemented in a backwards-compatible manner.
Diffstat (limited to 'rv64')
-rw-r--r--rv64/emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rv64/emit.c b/rv64/emit.c
index 23a8be8..a410ddf 100644
--- a/rv64/emit.c
+++ b/rv64/emit.c
@@ -406,7 +406,7 @@ emitins(Ins *i, Fn *fn, FILE *f)
 			emitf("mv %=, sp", i, fn, f);
 		break;
 	case Odbgloc:
-		emitdbgloc(i->arg[0].val, f);
+		emitdbgloc(i->arg[0].val, i->arg[1].val, f);
 		break;
 	}
 }