mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix issue in inliner
This commit is contained in:
parent
093b506c9a
commit
5a346fd3a4
|
@ -43,7 +43,7 @@ public class DefaultInliningStrategy implements InliningStrategy {
|
|||
@Override
|
||||
public InliningStep start(MethodReference method, ProgramReader program) {
|
||||
Complexity complexity = getComplexity(program, null);
|
||||
if (complexity.score > complexityThreshold) {
|
||||
if (complexity.score > totalComplexityThreshold) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user