From 0b90de2e773f439fa606ddf2bc403d2f42fa4c3d Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 18 Feb 2026 18:17:14 +0100 Subject: ir: basic inlining pass implementation --- common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common.h') 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 */ -- cgit v1.2.3