Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Re-spec and Implement OutlineCfg rewrite #225
Re-spec and Implement OutlineCfg rewrite #225
Changes from 44 commits
47cdc3f
f470736
b40aae4
9d4b261
610f1c7
e0f75c6
8f9b7c4
7981793
e8460dc
57a35a5
0fd40c9
4ae2fc9
59c2ce7
010061f
3528a65
9de20df
00092ad
ff2d0ac
a7940f3
e9c3c12
df4f1d7
85a05ad
e90de4d
7572924
6b38017
eea616c
cc44630
d64c3e0
6cbba93
5f4062b
4512bf7
ddf8fb6
381dc80
27463ae
f0d36c1
d7e9ad9
1588016
86e3fe2
dad6c5f
382e70c
369f62e
e5f83e6
6eca8a7
a4d02d9
37b2b7a
8d0d0b1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
This was a driveby, but I'm doing the same in the new code. (It seemed small enough just to duplicate.)
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.
Should probably add a docstring for this?
I must be missing something here but I don't see how we get away with throwing away the entry node...
Is there a test for this method?
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.
It's not pub - but yes, docstring added.
I've clued about the entry node (the thing is that creating a CFGBuilder doesn't create an entry node - you have to do that explicitly later using e.g.
simple_entry_builder
and it will prepend that onto the list of children rather than append).And added a test. (That creates a disconnected basic block, but it'll do for the test.)