-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
GH-93678: reduce boilerplate and code repetition in the compiler #93682
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 18 commits into
python:main
from
iritkatriel:codegen-reduce-repetition
Jun 14, 2022
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
996be64
move line/noline to arg and remove _noline version of functions
iritkatriel af31e92
add struct location to reduce boilerplate
iritkatriel f8a0767
merge basicblock_addop, basicblock_addop_i and basicblock_add_jump in…
iritkatriel 430b4b9
add news
iritkatriel 66d5609
assume that oparg is < (1<<30)
iritkatriel 7670a7c
Merge remote-tracking branch 'upstream/main' into codegen-reduce-repe…
iritkatriel 7d74572
use the new location struct for the compiler unit's location
iritkatriel 016ebbc
use the new location struct for the instruction location
iritkatriel 5e06cad
basicblock_addop takes location by reference
iritkatriel c23e2cf
LOCATION needs to return a const
iritkatriel fc74555
define static no_location in function scope
iritkatriel 9220fc1
are we const now?
iritkatriel 9b5dc34
trivial stuff
iritkatriel 5330060
Merge remote-tracking branch 'upstream/main' into codegen-reduce-repe…
iritkatriel 414e26a
remove two unused fields from struct assembler
iritkatriel 26dc190
define NO_LOCATION as a static const in global scope
iritkatriel 98d24f2
Merge remote-tracking branch 'upstream/main' into codegen-reduce-repe…
iritkatriel 7851ccd
Merge remote-tracking branch 'upstream/main' into codegen-reduce-repe…
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
use the new location struct for the compiler unit's location
- Loading branch information
commit 7d74572d77d5c11cb236bb1bb30dba2d2bd84fca
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.