Generate code for return statement.