major lifting: get rid of RReg
I've been septic since I introduced it, this commit proves that it costs more than it helps. I've also fixed a bad bug in rega() where I alloc'ed the wrong size for internal arrays. Enums now have names so I can use them to cast in gdb to get the name corresponding to a constant.
This commit is contained in:
parent
78bf28f56e
commit
5fc8104e00
8 changed files with 97 additions and 142 deletions
|
@ -1,7 +1,7 @@
|
|||
BIN = lisc
|
||||
OBJ = parse.o ssa.o live.o isel.o spill.o rega.o emit.o main.o
|
||||
|
||||
CFLAGS = -Wall -Wextra -std=c11 -g -pedantic
|
||||
CFLAGS = -Wall -Wextra -std=c99 -g -pedantic
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CC) $(LDFLAGS) $(OBJ) -o $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue