Skip to content
  • John Hawthorn's avatar
    b361bdc2
    [Bug #19021] Fix safe call w/ conditional assign · b361bdc2
    John Hawthorn authored
    As of fbaac837, when we were performing
    a safe call (`o&.x=`) with a conditional assign (`||= 1`) and discarding
    the result the stack would end up in a bad state due to a missing pop.
    
    This commit fixes that by adjusting the target label of the branchnil to
    be before a pop in that case (as was previously done in the
    non-conditional assignment case).
    b361bdc2
    [Bug #19021] Fix safe call w/ conditional assign
    John Hawthorn authored
    As of fbaac837, when we were performing
    a safe call (`o&.x=`) with a conditional assign (`||= 1`) and discarding
    the result the stack would end up in a bad state due to a missing pop.
    
    This commit fixes that by adjusting the target label of the branchnil to
    be before a pop in that case (as was previously done in the
    non-conditional assignment case).
Loading