protected void evaluatePostfixMethod(String method, Expression expression) { // load expression.visit(this); // save value for later int tempIdx = compileStack.defineTemporaryVariable("postfix_" + method, true); // execute Method execMethodAndStoreForSubscriptOperator(method,expression); // remove the result of the method call mv.visitInsn(POP); //reload saved value mv.visitVarInsn(ALOAD, tempIdx); compileStack.removeVar(tempIdx); }
protected void evaluatePostfixMethod(String method, Expression expression) { // load expression.visit(this); // save value for later int tempIdx = compileStack.defineTemporaryVariable("postfix_" + method, true); // execute Method execMethodAndStoreForSubscriptOperator(method,expression); // remove the result of the method call mv.visitInsn(POP); //reload saved value mv.visitVarInsn(ALOAD, tempIdx); compileStack.removeVar(tempIdx); }
compileStack.removeVar(tempIndex);
compileStack.removeVar(tempIndex);
protected void evaluatePostfixMethod(String method, Expression expression) { // load expression.visit(this); // save value for later int tempIdx = compileStack.defineTemporaryVariable("postfix_" + method, true); // execute Method execMethodAndStoreForSubscriptOperator(method,expression); // remove the result of the method call mv.visitInsn(POP); //reload saved value mv.visitVarInsn(ALOAD, tempIdx); compileStack.removeVar(tempIdx); }
compileStack.removeVar(listArrayVar); compileStack.pop();
compileStack.removeVar(listArrayVar); compileStack.pop();
compileStack.removeVar(resultVar); return;
compileStack.removeVar(resultVar); return;
false, false, false, false); mv.visitInsn(POP); compileStack.removeVar(resultIdx);
false, false, false, false); mv.visitInsn(POP); compileStack.removeVar(resultIdx);
compileStack.removeVar(resultVar); return;
compileStack.removeVar(listArrayVar); compileStack.pop();
compileStack.removeVar(resultVar); return;
compileStack.removeVar(tempIndex);
invokeMethod,false,false,false); mv.visitInsn(POP); compileStack.removeVar(resultIdx);
compileStack.removeVar(rhsVar); return;