You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously we always had to pass in a NODE* to add instructions to iseqs because that was what was required. However, since ruby/ruby#9898, we can now pass in line number and node id directly. This provides us with an opportunity to remove our dependency on NODE entirely by instead passing in our own pm_line_column_t struct. This should speed things up and make them simpler at the same time.
As a side benefit, this also means that we may not need to support node id. If we slot in the column values instead of node ids, it's possible that we could re-derive the node that generated the instruction sequence from that. No promises, but it seems possible. So this ticket also serves as the basis for our potential future support for error highlight.
Activity
kddnewton commentedon Apr 12, 2024
Done on
master