public override void visit(DReturn ret) { if (graph_.function != null) { DNode input = ret.getOperand(0); TypeUnit tu = TypeUnit.FromTag(graph_.function.returnType); input.typeSet.addType(tu); } }
private void writeReturn(DReturn ret) { string operand = buildExpression(ret.getOperand(0)); outputLine("return " + operand + ";"); }