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