Skip to content
  • Kevin Newton's avatar
    c384ef07
    [ruby/yarp] Introduce a BlockLocalVariableNode · c384ef07
    Kevin Newton authored
    This is a tradeoff that I think is worth it. Right now we have a
    location list that tracks the location of each of the block locals.
    Instead, I'd like to make that a node list that has a proper node
    in each spot in the list. In doing so, we eliminate the need to have
    a location list at all, making it simpler on all of the various
    consumers as we have one fewer field type. There should be minimal
    memory implications here since this syntax is exceedingly rare.
    
    https://github.com/ruby/yarp/commit/04d329ddf0
    c384ef07
    [ruby/yarp] Introduce a BlockLocalVariableNode
    Kevin Newton authored
    This is a tradeoff that I think is worth it. Right now we have a
    location list that tracks the location of each of the block locals.
    Instead, I'd like to make that a node list that has a proper node
    in each spot in the list. In doing so, we eliminate the need to have
    a location list at all, making it simpler on all of the various
    consumers as we have one fewer field type. There should be minimal
    memory implications here since this syntax is exceedingly rare.
    
    https://github.com/ruby/yarp/commit/04d329ddf0
Loading