diff options
Diffstat (limited to 'src/pass.h')
-rw-r--r-- | src/pass.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pass.h b/src/pass.h index f6dd52128..a3ee41d61 100644 --- a/src/pass.h +++ b/src/pass.h @@ -77,9 +77,9 @@ struct InliningOptions { // Function size which we inline when there is only one caller. // FIXME: this should logically be higher than flexibleInlineMaxSize. Index oneCallerInlineMaxSize = 15; - // Allow inlining of functions that are not "lightweight" in the sense the - // inlining pass estimates. - bool allowHeavyweight = false; + // Loops usually mean the function does heavy work, so the call overhead + // is not significant and we do not inline such functions by default. + bool allowFunctionsWithLoops = false; }; struct PassOptions { |