vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.81k stars 788 forks source link

refactor[codegen]: remove redundant `IRnode.from_list` #4151

Open trocher opened 3 weeks ago

trocher commented 3 weeks ago

What I did

Replaced occurrences of

IRnode.from_list(context.new_internal_variable(typ), typ=typ, location=MEMORY)

by

context.new_internal_variable(typ)

following #3941

How I did it

See code

How to verify it

See similarly replaced occurrences in #3941

Commit message

refactor[codegen]: remove redundant `IRnode.from_list`

Description for the changelog

refactor[codegen]: remove redundant `IRnode.from_list`

Cute Animal Picture

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