Skip to content

gh-106149: move CFG and basicblock definitions into flowgraph.c, use them as opaque types in compile.c#107639

Merged
iritkatriel merged 10 commits intopython:mainfrom
iritkatriel:cfg-opaque
Aug 10, 2023
Merged

gh-106149: move CFG and basicblock definitions into flowgraph.c, use them as opaque types in compile.c#107639
iritkatriel merged 10 commits intopython:mainfrom
iritkatriel:cfg-opaque

Conversation

@iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Aug 4, 2023

This moves all the code that manipulates the CFG to flowgraph.c.

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit c05fa8e 🤖

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Aug 4, 2023
@iritkatriel
Copy link
Member Author

The ref leaks failures are unrelated to this PR.

@markshannon
Copy link
Member

Looks good to me, although I've not checked every detail as I assume it is a refactor, with no change to behavior.

@iritkatriel Can you confirm that this is strictly a refactor?

@iritkatriel
Copy link
Member Author

@iritkatriel Can you confirm that this is strictly a refactor?

Yes

It basically moves code from compile.c to flowgraph.c, and struct definitions from the header into flowgraph.c, and then changes some of the functions from private (declared in the header) to static in flowgraph.c.

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.

3 participants