summary refs log tree commit diff
path: root/rv64
diff options
context:
space:
mode:
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;
 	}
 }