diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-10-03 11:08:05 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-10-08 21:48:47 +0200 |
commit | b03a8970d7b73959397f0ca5c8f2a532c1905e5d (patch) | |
tree | 028eb6726e95352c54b1911abbe609ef3a26bc6f /all.h | |
parent | a7e1602252be24f51afa3dc66e3adc2b88d1e0c1 (diff) | |
download | roux-b03a8970d7b73959397f0ca5c8f2a532c1905e5d.tar.gz |
mark apple targets with a boolean
It is more natural to branch on a flag than have different function pointers for high-level passes.
Diffstat (limited to 'all.h')
-rw-r--r-- | all.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/all.h b/all.h index 7859b05..45ebdff 100644 --- a/all.h +++ b/all.h @@ -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 */ |