summary refs log tree commit diff
path: root/lisc/parse.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-16 12:12:19 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:31 -0400
commitca8c320dec82df1700216a5a040768bfc2d81632 (patch)
treed913fcc9b98ecc3b884099eada8cbd4012c57694 /lisc/parse.c
parent16fe5c13668d9ccc8f3b14c6c20565dfe5a26d57 (diff)
downloadroux-ca8c320dec82df1700216a5a040768bfc2d81632.tar.gz
replace RMem refs with an OAddr opertation
Diffstat (limited to 'lisc/parse.c')
-rw-r--r--lisc/parse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index 4856d5c..07e1ad9 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -35,6 +35,7 @@ OpDesc opdesc[NOp] = {
 	[OXCmpl]  = { "xcmpl",  2, 1 },
 	[OXTestw] = { "xtestw", 2, 1 },
 	[OXTestl] = { "xtestl", 2, 1 },
+	[OAddr]   = { "addr",   1, 0 },
 	[OAlloc]   = { "alloc4",  1, 1 },
 	[OAlloc+1] = { "alloc8",  1, 1 },
 	[OAlloc+2] = { "alloc16", 1, 1 },
@@ -565,9 +566,6 @@ printref(Ref r, Fn *fn, FILE *f)
 	case RSlot:
 		fprintf(f, "S%d", r.val);
 		break;
-	case RMem:
-		fprintf(f, "M%d", r.val);
-		break;
 	}
 	return "";
 }