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

View file

@ -29,7 +29,6 @@ bits arm64_retregs(Ref, int[2]);
bits arm64_argregs(Ref, int[2]);
void arm64_abi(Fn *);
void apple_extsb(Fn *);
void apple_abi(Fn *);
/* isel.c */
int arm64_logimm(uint64_t, int);
@ -37,4 +36,3 @@ void arm64_isel(Fn *);
/* emit.c */
void arm64_emitfn(Fn *, FILE *);
void apple_emitfn(Fn *, FILE *);