aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-02-18 18:17:14 +0100
committerlemon <lsof@mailbox.org>2026-02-18 18:19:11 +0100
commit0b90de2e773f439fa606ddf2bc403d2f42fa4c3d (patch)
tree2b7b6600d8bbbe08735c1f2d6d3e6b2885c0e5e0 /common.h
parent886fdfe8c856ee778103661b832b28cf3e6aed7e (diff)
ir: basic inlining pass implementation
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 81e34c5..0e10a8e 100644
--- a/common.h
+++ b/common.h
@@ -136,12 +136,14 @@ struct option {
enum optz {
OPT0 = -1,
OPT1 = 1,
+ OPT2 = 2,
} o;
union {
struct {
bool p : 1, /* after parsing */
a : 1, /* after abi0 */
m : 1, /* after mem */
+ y : 1, /* after inline */
o : 1, /* after optimizations */
s : 1, /* after stack */
i : 1, /* after isel */