Remove line number nodes and move the line number into statements

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      For a large IR line number nodes take up a significant portion of the memory footprint. We should get rid of the LineNumberNode altogether and only put them in Statements. I have a patch out for this already.

      This has the added benefit that we don't need to do a lot of the special cases "look for the last statement, but it mustn't be a LineNumberNode", "pair function declaration vars with a linenumbernode" etc. So this both simplifies logic and footprint.
      ¨

            Assignee:
            Marcus Lagergren
            Reporter:
            Marcus Lagergren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: