summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 5890227c36..f659b12959 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -65,6 +65,8 @@ class CompilerOptions final {
static const bool kDefaultGenerateDebugInfo = false;
static const bool kDefaultGenerateMiniDebugInfo = true;
static const size_t kDefaultInlineMaxCodeUnits = 32;
+ // We set a lower inlining threshold for baseline to reduce code size and compilation time.
+ static const size_t kBaselineMaxCodeUnits = 8;
static constexpr size_t kUnsetInlineMaxCodeUnits = -1;
enum class CompilerType : uint8_t {