-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
GH-93678: refactor compiler so that optimizer does not need the assembler and compiler structs #93842
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
Merged
iritkatriel
merged 16 commits into
python:main
from
iritkatriel:reduce_dependencty_on_compiler
Jun 21, 2022
Merged
GH-93678: refactor compiler so that optimizer does not need the assembler and compiler structs #93842
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6d38e85
optimize_cfg does not require a struct compiler*
iritkatriel db0be36
optimize_cfg does not require a struct assembler*
iritkatriel 82be9a5
do not pass the whole assembler to functions that need only a_entry
iritkatriel a2da370
Create struct assember just before assemble_emit. The other optimizer…
iritkatriel c26a2bb
assemble_jump_offsets doesn't need the compiler
iritkatriel 36d2410
duplicate_exits_without_lineno can use b_next links to iterate
iritkatriel 7f06d70
stackdepth doesn't need the compiler
iritkatriel 5cd8fc9
push_cold_blocks_to_end and duplicate_exits_without_lineno do not nee…
iritkatriel b1e9f7c
remove 3 unused fields from struct assembler
iritkatriel b5f58d1
remove obsolete comment
iritkatriel c4a125e
code review followup
iritkatriel 39f03c0
entry --> entryblock for consistency
iritkatriel c233570
📜🤖 Added by blurb_it.
blurb-it[bot] 482742a
Merge remote-tracking branch 'upstream/main' into reduce_dependencty_…
iritkatriel 28ba5d9
Merge remote-tracking branch 'upstream/main' into reduce_dependencty_…
iritkatriel 51b78f7
Merge branch 'main' into reduce_dependencty_on_compiler
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
push_cold_blocks_to_end and duplicate_exits_without_lineno do not nee…
…d the compiler - insert new blocks as b_list successor of the curent block rather than at the head of the list
- Loading branch information
commit 5cd8fc94fa9f23de558c5d68c797b5b7fce3a0a2
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.