aboutsummaryrefslogtreecommitdiff
path: root/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2022-10-03 11:08:05 +0200
committerQuentin Carbonneaux <[email protected]>2022-10-08 21:48:47 +0200
commitb03a8970d7b73959397f0ca5c8f2a532c1905e5d (patch)
tree028eb6726e95352c54b1911abbe609ef3a26bc6f /all.h
parenta7e1602252be24f51afa3dc66e3adc2b88d1e0c1 (diff)
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.h1
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 */