node, 1, eclipseVariableQuery);
ResultfulInstruction<?> binop = new EclipseBinaryDesugaredOperation(
node,
node.getOperand(), BinaryOperator.ARIT_SUBTRACT, one.getResultVariable(),
false, eclipseVariableQuery);
TACInstruction store = createStore(node, node.getOperand(), binop.getResultVariable(), eclipseVariableQuery);
return new EclipseInstructionSequence(node, new TACInstruction[] { one, binop, store }, 1, eclipseVariableQuery);
}
if(PrefixExpression.Operator.INCREMENT.equals(node.getOperator())) {
ResultfulInstruction<?> one = new EclipseLoadDesugaredLiteralInstruction(
node, 1, eclipseVariableQuery);
ResultfulInstruction<?> binop = new EclipseBinaryDesugaredOperation(
node, node.getOperand(),
BinaryOperator.ARIT_ADD, one.getResultVariable(),
false, eclipseVariableQuery);
TACInstruction store = createStore(node, node.getOperand(), binop.getResultVariable(), eclipseVariableQuery);
return new EclipseInstructionSequence(node, new TACInstruction[] { one, binop, store }, 1, eclipseVariableQuery);
}
if(PrefixExpression.Operator.MINUS.equals(node.getOperator())) {
return new UnaryOperationImpl(node, UnaryOperator.ARIT_MINUS, eclipseVariableQuery);
}