summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-07-29 16:09:58 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:29 -0400
commitbd0a00e555cd9653f51a4b42dfe893ebb5e67d0c (patch)
treec8e1c39f08f5054e3f6afc5473fb9d80836d30cb
parentd8e40a56ec78edb5d451f0cb9e9e0943cb60e907 (diff)
downloadroux-bd0a00e555cd9653f51a4b42dfe893ebb5e67d0c.tar.gz
perform isel before code emission
-rw-r--r--lisc/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisc/main.c b/lisc/main.c
index 81bbb72..ed8d7c3 100644
--- a/lisc/main.c
+++ b/lisc/main.c
@@ -3,6 +3,7 @@
 
 char debug['Z'+1] = {
 	['S'] = 0, /* spiller */
+	['R'] = 0, /* reg. allocator */
 };
 
 void
@@ -111,12 +112,12 @@ main(int ac, char *av[])
 		spill(fn);
 		rega(fn);
 		goto RPODump;
-		break;
 	}
 	case 'e': {
 		int n;
 
 		fprintf(stderr, "[Testing Code Emission]\n");
+		isel(fn);
 		fillrpo(fn);
 		fillpreds(fn);
 		filllive(fn);