From ca8c320dec82df1700216a5a040768bfc2d81632 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 16 Aug 2015 12:12:19 -0400 Subject: replace RMem refs with an OAddr opertation --- lisc/parse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lisc/parse.c') 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 ""; } -- cgit 1.4.1