summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
Diffstat (limited to 'lisc')
-rw-r--r--lisc/Makefile2
-rw-r--r--lisc/main.c2
-rw-r--r--lisc/ssa.c4
3 files changed, 7 insertions, 1 deletions
diff --git a/lisc/Makefile b/lisc/Makefile
index 560fd4f..389e376 100644
--- a/lisc/Makefile
+++ b/lisc/Makefile
@@ -1,5 +1,5 @@
 BIN = lisc
-OBJ = main.o util.o parse.o mem.o ssa.o copy.o live.o isel.o spill.o rega.o emit.o
+OBJ = main.o util.o parse.o ssa.o live.o isel.o spill.o rega.o emit.o
 
 CFLAGS = -Wall -Wextra -std=c99 -g -pedantic
 
diff --git a/lisc/main.c b/lisc/main.c
index a393a69..10de4d6 100644
--- a/lisc/main.c
+++ b/lisc/main.c
@@ -53,11 +53,13 @@ func(Fn *fn)
 	fillrpo(fn);
 	fillpreds(fn);
 	filluse(fn);
+#if 0
 	memopt(fn);
 	ssa(fn);
 	filluse(fn);
 	copy(fn);
 	filluse(fn);
+#endif
 	isel(fn);
 	filllive(fn);
 	fillcost(fn);
diff --git a/lisc/ssa.c b/lisc/ssa.c
index 9d6ef4a..8783d73 100644
--- a/lisc/ssa.c
+++ b/lisc/ssa.c
@@ -166,6 +166,8 @@ fillrpo(Fn *f)
 	}
 }
 
+#if 0
+
 /* for dominators computation, read
  * "A Simple, Fast Dominance Algorithm"
  * by K. Cooper, T. Harvey, and K. Kennedy.
@@ -507,3 +509,5 @@ ssa(Fn *fn)
 		printfn(fn, stderr);
 	}
 }
+
+#endif