Remove unused variables.

This commit is contained in:
Rui Ueyama 2018-08-18 23:59:07 +00:00
parent cb98af07a6
commit 9d130e72b3
3 changed files with 2 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
*.o
tmp*
9cc
a.out

4
9cc.h
View File

@ -153,7 +153,6 @@ typedef struct {
typedef struct {
char *name;
int args[6];
int stacksize;
Vector *ir;
} Function;
@ -171,6 +170,3 @@ void alloc_regs(Vector *irv);
/// codegen.c
void gen_x86(Vector *fns);
/// main.c
char **argv;

View File

@ -12,4 +12,4 @@ test: 9cc
./test.sh
clean:
rm -f 9cc *.o *~ tmp*
rm -f 9cc *.o *~ tmp* a.out