mark apple targets with a boolean

It is more natural to branch on a
flag than have different function
pointers for high-level passes.
This commit is contained in:
Quentin Carbonneaux 2022-10-03 11:08:05 +02:00
parent a7e1602252
commit b03a8970d7
8 changed files with 41 additions and 86 deletions

1
all.h
View file

@ -41,6 +41,7 @@ enum {
struct Target {
char name[16];
char apple;
int gpr0; /* first general purpose reg */
int ngpr;
int fpr0; /* first floating point reg */