Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct pretty-printing of code_returnt #658

Merged
merged 1 commit into from
Mar 23, 2017

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Mar 20, 2017

Thought I'd made a mistake when I got return irep("nil") in the symbol table output-- turns out the C pretty-printer just never got updated when code_returnt started using a nil irep to represent return-without-value. This cleans it up.

Copy link
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for fixing this - this is my bad as it is caused by e527f64.

@kroening
Copy link
Member

Note that there is code_returnt::has_return_value()!

@smowton smowton force-pushed the pretty_print_return branch from d47d0b5 to e843b72 Compare March 23, 2017 11:29
@smowton
Copy link
Contributor Author

smowton commented Mar 23, 2017

So it does. Amended.

@kroening kroening merged commit 6550e2c into diffblue:master Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants