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

gh-93008: refactor compiler functions that add instructions to take only a basicblock* (not the whole compiler) #93009

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented May 20, 2022

This makes these functions available for use in the optimiser and assembler, when it is necessary to change basic blocks.

Closes #93008.

iritkatriel added 3 commits May 19, 2022
…ler_use_new_implicit_block_if_needed insted (for the last instr in the block)
…block rather than taking a compiler struct ptr. Rename them to basicblock_add_*
@iritkatriel iritkatriel requested a review from markshannon as a code owner May 20, 2022
@iritkatriel iritkatriel added the interpreter-core label May 20, 2022
@iritkatriel iritkatriel requested a review from sweeneyde May 20, 2022
Copy link
Member

@sweeneyde sweeneyde left a comment

Looks correct and makes things a bit more flexible.

Out of interest, what are the use-cases for adding instructions at assembly time?

@iritkatriel
Copy link
Member Author

@iritkatriel iritkatriel commented May 22, 2022

Looks correct and makes things a bit more flexible.

Out of interest, what are the use-cases for adding instructions at assembly time?

Thanks. I need to do this here line 7465.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge interpreter-core skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants