diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-06-12 12:04:44 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-04-27 11:53:24 +0100 |
commit | 6f98b3b5f730d66f1878941d780db7b4384fbf60 (patch) | |
tree | e72f6f8a13633f8a4ba63bf224e46d2d1bec240f | |
parent | 2323b183b65a955c882b5cb8a224fcbc23c8348a (diff) | |
download | compcert-6f98b3b5f730d66f1878941d780db7b4384fbf60.tar.gz compcert-6f98b3b5f730d66f1878941d780db7b4384fbf60.zip |
Always try inlining functions
-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 |