-
-
Notifications
You must be signed in to change notification settings - Fork 848
refactor[codegen]: refactor assembly #4663
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
base: master
Are you sure you want to change the base?
refactor[codegen]: refactor assembly #4663
Conversation
explicit Label/PUSHLABEL instructions.
runtime source map now only appears in source_map_runtime, not source_map.
def __init__(self, item: bytes | Label): | ||
self.data = item | ||
|
||
def __repr__(self): |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note
# at _sym_revert0 to: INVALID | ||
return [_revert_label, "JUMPI"] | ||
# a string (assembly instruction) but with additional metadata from the source code | ||
class TaggedInstruction(str): |
Check warning
Code scanning / CodeQL
`__eq__` not overridden when adding attributes Warning
'__eq__'
error_msg
The class 'TaggedInstruction' does not override
'__eq__'
pc_debugger
The class 'TaggedInstruction' does not override
'__eq__'
ast_source
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4663 +/- ##
==========================================
+ Coverage 92.80% 92.92% +0.12%
==========================================
Files 131 131
Lines 18947 19033 +86
Branches 3289 3262 -27
==========================================
+ Hits 17583 17686 +103
+ Misses 933 927 -6
+ Partials 431 420 -11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What I did
remove recursion from assembly. continuation of #4629
How I did it
How to verify it
Commit message
Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)
Description for the changelog
Cute Animal Picture