summary refs log tree commit diff
path: root/amd64
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 /amd64
parentbaf11b7175c468d3d9408d332b1c0d529a4957ee (diff)
downloadroux-36946a5142c40b733d25ea5ca469f7949ee03439.tar.gz
file,loc become dbgfile,dbgloc
Diffstat (limited to 'amd64')
-rw-r--r--amd64/emit.c2
-rw-r--r--amd64/isel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/amd64/emit.c b/amd64/emit.c
index 2290d2d..297cc76 100644
--- a/amd64/emit.c
+++ b/amd64/emit.c
@@ -547,7 +547,7 @@ emitins(Ins i, Fn *fn, FILE *f)
 		emitcopy(i.arg[0], i.arg[1], i.cls, fn, f);
 		emitcopy(i.arg[1], TMP(XMM0+15), i.cls, fn, f);
 		break;
-	case Oloc:
+	case Odbgloc:
 		emitdbgloc(i.arg[0].val, f);
 		break;
 	}
diff --git a/amd64/isel.c b/amd64/isel.c
index 277063f..0d2affc 100644
--- a/amd64/isel.c
+++ b/amd64/isel.c
@@ -392,7 +392,7 @@ sel(Ins i, ANum *an, Fn *fn)
 	case_Oload:
 		seladdr(&i.arg[0], an, fn);
 		goto Emit;
-	case Oloc:
+	case Odbgloc:
 	case Ocall:
 	case Osalloc:
 	case Ocopy: