-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[SR-340] Refactor SILParser::parseSILInstruction #42962
Comments
Resetting assignee for all Starter Bugs not modified since 2018. |
After this commit, |
This is still relevant because no visitor-oriented refactoring took place. The referenced commit simply decouples the problematic code into a dedicated function. |
@AnthonyLatsis I found that these functions are called within parseTopLevelSIL in ParseDecl.cpp. :) |
@oozoofrog Are you working on this? Let me know if you want to be assigned. |
Yes I'm working on this, can I get assigned? |
@AnthonyLatsis Thanks for the assign on this issue. |
Additional Detail from JIRA
md5: ee6df5ef735c9655c56ca6ce06200e7e
Issue Description:
parseSILInstruction is horrible and makes me cry every time I see it. It is a method that is ~1900 lines with a huge switch in it. We should refactor it into a visitor structure. In fact it is large enough that we should consider moving it into its own file if it is possible.
The text was updated successfully, but these errors were encountered: