Skip to content
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

fix[venom]: fix duplicate allocas #4321

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

charles-cooper
Copy link
Member

What I did

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

Put a link to a cute animal picture inside the parenthesis-->

@charles-cooper charles-cooper changed the title remove global symbol copying fix[venom]: fix duplicate allocas Oct 21, 2024
_global_symbols = {}
symbols = {}
new_fn = _handle_internal_func(fn, ir, does_return_data, symbols)
for ir_node in ir.args[1:]:
ret = _convert_ir_bb(new_fn, ir_node, symbols)

_global_symbols = saved_global_symbols

Check notice

Code scanning / CodeQL

Unused global variable Note

The global variable '_global_symbols' is not used.
@harkal
Copy link
Collaborator

harkal commented Oct 23, 2024

CurveStableSwapNG-0.4.1.vy fails to compile with these changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants