public void Visit(NegateOperator negate) { negate.Right.Accept(this); var rightOperand = tacs.Last().Result; tacs.Add(Tac.Negate(rightOperand, MakeNewTemp())); }
public void Visit(NegateOperator negate) { negate.Right.Accept(this); var rightOperand = tacs.Last().Result; tacs.Add(Tac.Negate(rightOperand, MakeNewTemp())); }