summaryrefslogtreecommitdiff
path: root/src/pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pass.h')
-rw-r--r--src/pass.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pass.h b/src/pass.h
index 8b8e73fa0..f6dd52128 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -77,6 +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;
};
struct PassOptions {