Uploaded image for project: 'Swift'
  1. Swift
  2. SR-340

Refactor SILParser::parseSILInstruction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Compiler
    • Labels:

      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.

        Attachments

          Activity

            People

            Assignee:
            d066z Dogghie Haroldh
            Reporter:
            gottesmm Michael Gottesman
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: