summary refs log tree commit diff
path: root/rv64
diff options
context:
space:
mode:
Diffstat (limited to 'rv64')
-rw-r--r--rv64/emit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rv64/emit.c b/rv64/emit.c
index acb6df3..6044dee 100644
--- a/rv64/emit.c
+++ b/rv64/emit.c
@@ -405,6 +405,9 @@ emitins(Ins *i, Fn *fn, FILE *f)
 		if (!req(i->to, R))
 			emitf("mv %=, sp", i, fn, f);
 		break;
+	case Oloc:
+		emitdbgloc(i->arg[0].val, f);
+		break;
 	}
 }