forked from JavaTX/JavaCompilerCore
Idee zu Return createReturn
This commit is contained in:
parent
1cd1aa7a50
commit
d9a08820e8
@ -138,7 +138,7 @@ public class Return extends Statement
|
|||||||
|
|
||||||
InstructionFactory _factory = new InstructionFactory(cg, cg.getConstantPool());
|
InstructionFactory _factory = new InstructionFactory(cg, cg.getConstantPool());
|
||||||
|
|
||||||
//Stimmt das VOID hier eigentlich?
|
//Stimmt das VOID hier eigentlich? --> Wie wäre es mit getReturnType o.ä.? + evtl. von Type zu bcelType casten?
|
||||||
il.append(_factory.createReturn(org.apache.bcel.generic.Type.VOID));
|
il.append(_factory.createReturn(org.apache.bcel.generic.Type.VOID));
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user