mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix new Kotlin hacks
This commit is contained in:
parent
40ecb0938d
commit
9a83bfe4e9
|
@ -48,6 +48,10 @@ public class KotlinHacks implements ClassHolderTransformer {
|
||||||
&& method.getName().equals("renderLambdaToString")
|
&& method.getName().equals("renderLambdaToString")
|
||||||
&& method.getResultType().isObject(String.class)) {
|
&& method.getResultType().isObject(String.class)) {
|
||||||
Program program = new Program();
|
Program program = new Program();
|
||||||
|
program.createVariable();
|
||||||
|
for (int i = 0; i < method.parameterCount(); ++i) {
|
||||||
|
program.createVariable();
|
||||||
|
}
|
||||||
BasicBlock block = program.createBasicBlock();
|
BasicBlock block = program.createBasicBlock();
|
||||||
|
|
||||||
StringConstantInstruction stringConstant = new StringConstantInstruction();
|
StringConstantInstruction stringConstant = new StringConstantInstruction();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user