summary refs log tree commit diff
path: root/rv64/emit.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2023-08-18 15:12:56 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2023-08-18 15:12:56 +0200
commit36946a5142c40b733d25ea5ca469f7949ee03439 (patch)
tree3ee6583dc78c2f1c24264edc44953ca010d24b9f /rv64/emit.c
parentbaf11b7175c468d3d9408d332b1c0d529a4957ee (diff)
downloadroux-36946a5142c40b733d25ea5ca469f7949ee03439.tar.gz
file,loc become dbgfile,dbgloc
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;
 	}