diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-06-12 12:04:44 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-11-27 16:28:59 +0000 |
commit | 50dcecf79b98ce86f21437b253136a2c3c6f31ba (patch) | |
tree | 1f0b6d0085e026b71eb6ac0ce876f0def1073c12 /backend | |
parent | 47f1e35303e4613b03dd1a1afc69a69b6fde35d2 (diff) | |
download | compcert-50dcecf79b98ce86f21437b253136a2c3c6f31ba.tar.gz compcert-50dcecf79b98ce86f21437b253136a2c3c6f31ba.zip |
Always try inlining functions
Diffstat (limited to 'backend')
-rw-r--r-- | backend/Inliningaux.ml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/backend/Inliningaux.ml b/backend/Inliningaux.ml index 2e83eb0c..a2570da5 100644 --- a/backend/Inliningaux.ml +++ b/backend/Inliningaux.ml @@ -87,9 +87,6 @@ let static_called_once id io = let should_inline (io: inlining_info) (id: ident) (f: coq_function) = if !Clflags.option_finline then begin - match C2C.atom_inline id with - | C2C.Inline -> true - | C2C.Noinline -> false - | C2C.No_specifier -> static_called_once id io + true end else false |