From 2086ba4770d435a084c65410ab061591e1a36c33 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Fri, 7 Apr 2017 14:00:15 +0200 Subject: Add optimization option finline. The new option f(no-)inline controlls whether inlining is active or not. Bug 21343. --- backend/Inliningaux.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/Inliningaux.ml b/backend/Inliningaux.ml index 265831a5..df33e1ac 100644 --- a/backend/Inliningaux.ml +++ b/backend/Inliningaux.ml @@ -13,4 +13,4 @@ (* To be considered: heuristics based on size of function? *) let should_inline (id: AST.ident) (f: RTL.coq_function) = - C2C.atom_is_inline id + !Clflags.option_finline && C2C.atom_is_inline id -- cgit