get rid of old Alt enum
This commit is contained in:
parent
12755db1aa
commit
faa084cca9
2 changed files with 1 additions and 10 deletions
9
all.h
9
all.h
|
@ -100,15 +100,6 @@ struct Ref {
|
|||
uint32_t val:29;
|
||||
};
|
||||
|
||||
enum Alt {
|
||||
AType,
|
||||
ACall,
|
||||
AMem,
|
||||
|
||||
AShift = 28,
|
||||
AMask = (1<<AShift) - 1
|
||||
};
|
||||
|
||||
enum {
|
||||
RTmp,
|
||||
RCon,
|
||||
|
|
2
sysv.c
2
sysv.c
|
@ -172,7 +172,7 @@ classify(Ins *i0, Ins *i1, AClass *ac, int op, AClass *aret)
|
|||
a->size = 8;
|
||||
a->cls[0] = i->cls;
|
||||
} else {
|
||||
n = i->arg[0].val & AMask;
|
||||
n = i->arg[0].val;
|
||||
aclass(a, &typ[n]);
|
||||
if (a->inmem)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue