mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Increase inlining threshold. Add property to build TeaVM without additional artifacts (like samples)
This commit is contained in:
parent
d3bed47b1d
commit
8967f423eb
|
@ -51,8 +51,8 @@ import org.teavm.model.util.InstructionVariableMapper;
|
|||
import org.teavm.model.util.ProgramUtils;
|
||||
|
||||
public class Inlining {
|
||||
private static final int DEFAULT_THRESHOLD = 15;
|
||||
private static final int MAX_DEPTH = 5;
|
||||
private static final int DEFAULT_THRESHOLD = 17;
|
||||
private static final int MAX_DEPTH = 7;
|
||||
private IntArrayList depthsByBlock;
|
||||
private Set<Instruction> instructionsToSkip;
|
||||
|
||||
|
|
13
pom.xml
13
pom.xml
|
@ -87,7 +87,6 @@
|
|||
<module>jso/apis</module>
|
||||
<module>jso/impl</module>
|
||||
<module>html4j</module>
|
||||
<module>samples</module>
|
||||
<module>platform</module>
|
||||
<module>tools/core</module>
|
||||
<module>tools/cli</module>
|
||||
|
@ -287,6 +286,18 @@
|
|||
</build>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>all-modules</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>teavm.build.all</name>
|
||||
<value>!false</value>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>samples</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>sign-artifacts</id>
|
||||
<build>
|
||||
|
|
Loading…
Reference in New Issue
Block a user