From 6695103f49facb761199a7b1130dc7b745da224d Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Sat, 25 Nov 2023 15:58:00 +0100 Subject: [PATCH] Increase upper complexity threshold for inlining --- core/src/main/java/org/teavm/vm/TeaVM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/teavm/vm/TeaVM.java b/core/src/main/java/org/teavm/vm/TeaVM.java index d3dd81017..6950ecb58 100644 --- a/core/src/main/java/org/teavm/vm/TeaVM.java +++ b/core/src/main/java/org/teavm/vm/TeaVM.java @@ -647,7 +647,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository { InliningStrategy inliningStrategy; if (optimizationLevel == TeaVMOptimizationLevel.FULL) { - inliningStrategy = new DefaultInliningStrategy(20, 7, 300, false); + inliningStrategy = new DefaultInliningStrategy(20, 7, 3000, false); } else { inliningStrategy = new DefaultInliningStrategy(100, 7, 300, true); }