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 Meta.partially_inline! for ReturnNode #38519

Merged
merged 2 commits into from
Nov 22, 2020

Conversation

simeonschaub
Copy link
Member

Meta.partially_inline! currently doesn't recurse into ReturnNodes, which is important for IRTools, for example. Is this the correct solution here?

@vchuravy
Copy link
Member

IR change happend in #36318

@simeonschaub
Copy link
Member Author

Ah, just noticed we need to recurse into GotoIfNot as well

@vchuravy vchuravy merged commit fc2db3f into master Nov 22, 2020
@vchuravy vchuravy deleted the sds/partially_inline_return_node branch November 22, 2020 18:11
simeonschaub added a commit that referenced this pull request Jan 6, 2021
forgot to take `statement_offset` into account in #38519
KristofferC pushed a commit that referenced this pull request Jan 6, 2021
forgot to take `statement_offset` into account in #38519
KristofferC pushed a commit that referenced this pull request Jan 6, 2021
forgot to take `statement_offset` into account in #38519

(cherry picked from commit 9f8bdc2)
staticfloat pushed a commit that referenced this pull request Jan 15, 2021
forgot to take `statement_offset` into account in #38519

(cherry picked from commit 9f8bdc2)
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
forgot to take `statement_offset` into account in JuliaLang#38519
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
forgot to take `statement_offset` into account in #38519

(cherry picked from commit 9f8bdc2)
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