-
Notifications
You must be signed in to change notification settings - Fork 274
Cleanup/java object factory #693
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
Cleanup/java object factory #693
Conversation
@mgudemann You seem to have written quite a lot of the code in this file, so you might be a good person to review. On the other hand you seem to be on holiday next week. |
symbol_table, | ||
loc, | ||
message_handler); | ||
state.gen_nondet_init_rec( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the renaming necessary then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I guess not. It was useful to be certain that the function was okay to remove. I'll add a commit to rename the remaining function back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might just drop that earlier commit and rebase?
skip_classid was always false, so there wasn't any point having it.
gen_nondet_init() is only used once, and is only two lines long, so get rid of it and just put those two lines. This also avoids confusion with java_object_factory::gen_nondet_init().
1c6676d
to
9a1dae0
Compare
I've dropped the renaming commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
I've been reading this code as we're making an equivalent for C. I noticed a few things that could be tidied up. There are no functional changes.