Endabgabe #20
@ -723,10 +723,6 @@ public class MethodCodeGen implements bytecode.visitor.MethodVisitor {
|
|||||||
@Override
|
@Override
|
||||||
public void visit(MethodCallNode methodCallNode) {
|
public void visit(MethodCallNode methodCallNode) {
|
||||||
List<ParameterNode> parameterNodes = new ArrayList<>();
|
List<ParameterNode> parameterNodes = new ArrayList<>();
|
||||||
for (IExpressionNode expressionNode : methodCallNode.parameters) {
|
|
||||||
expressionNode.accept(this);
|
|
||||||
parameterNodes.add(new ParameterNode(expressionNode.getType(), ""));
|
|
||||||
}
|
|
||||||
int localVarIndex = -1;
|
int localVarIndex = -1;
|
||||||
if (methodCallNode.target.memberAccess.identifiers.size() > 1) {
|
if (methodCallNode.target.memberAccess.identifiers.size() > 1) {
|
||||||
localVarIndex = localVariables.indexOf(methodCallNode.target.memberAccess.identifiers.get(1));
|
localVarIndex = localVariables.indexOf(methodCallNode.target.memberAccess.identifiers.get(1));
|
||||||
|
Loading…
Reference in New Issue
Block a user