aboutsummaryrefslogtreecommitdiff
path: root/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2024-08-20 15:20:42 +0200
committerQuentin Carbonneaux <[email protected]>2024-08-23 18:31:53 +0200
commit626f0b278137ff6f8b7d910d9b3fc3cbdfbb39fc (patch)
treef404b1ef7a963abbf12ecf2c91240f8161e2cded /all.h
parentbb8de8c63362b7234db02482240d5600203225d9 (diff)
skip preludes for some leaf fns
When rbp is not necessary to compile a leaf function, we skip saving and restoring it.
Diffstat (limited to 'all.h')
-rw-r--r--all.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/all.h b/all.h
index 3479d27..97cc41c 100644
--- a/all.h
+++ b/all.h
@@ -393,8 +393,10 @@ struct Fn {
Blk **rpo;
bits reg;
int slot;
+ int salign;
char vararg;
char dynalloc;
+ char leaf;
char name[NString];
Lnk lnk;
};