-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-87092: compiler's CFG construction moved to after codegen stage #102320
8000New 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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
43df9b3
compiler uses instruction stream to create codeobjects
iritkatriel 2b43f88
remove unused code
iritkatriel 52a1d1d
use newg all the way
iritkatriel 9b737f1
remove double processing
iritkatriel 083b8b1
split cfg_builder_use_label/cfg_builder_addop to separate versions fo…
iritkatriel a56bafe
codegen functions take an instr_stream
iritkatriel 8be1b28
free isntr_stream. Attach it to compiluer_unit (not cfg_builder)
iritkatriel 741f773
move things around
iritkatriel fb07525
labels generated by instr_stream instead of cfg_builder
iritkatriel 1b06bf8
add implicit RETURN NONE to the stream
iritkatriel 142a7f1
remove u_cfg_builder
iritkatriel f9f8443
init the cfg_builder in instr_stream_to_cfg
iritkatriel f6fcde9
stream->sequence
iritkatriel 84f5a9d
instr->cfg_instr, codegen_instr->instr
iritkatriel cd0225d
make sure we always emit something to jump to at the end
iritkatriel b8f4acf
INSTR_STREAM --> INSTR_SEQUENCE
iritkatriel 258f142
free the cfg_builder in the test harness
iritkatriel e5653ee
Merge branch 'main' into instruction-stream
iritkatriel 788da74
Merge branch 'main' into instruction-stream
iritkatriel fd7f2b3
#ifndef NDEBUG around cfg_builder_check
iritkatriel 57fbe36
create shared helper function for resizing arrays
iritkatriel dc9f1f5
remove obsolete comment
iritkatriel f20e480
Merge branch 'main' into instruction-stream
iritkatriel fa1c66a
address code review
iritkatriel 3528176
tweak comments
iritkatriel fb13e36
index -> idx to avoid github's hilighting
iritkatriel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
labels generated by instr_stream instead of cfg_builder
- Loading branch information
commit fb0752503c25bcd7d2294d034f2adfc16448198c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Uh oh!
There was an error while loading. Please reload this page.