• oth's avatar
    [interpreter] Add bytecodes for JumpIfNotHole with constant · 47c08f5f
    oth authored
    Adds JumpIfNotHoleConstant and JumpIfNotHoleConstantWide bytecodes
    and removes JumpIfHole bytecode.
    
    In situations with large numbers of constants, the generator would
    fail because an 8-bit constant could not be reserved for
    JumpIfHole/JumpIfNotHole and so a 16-bit constant would be reserved.
    Then when patching the bytecode the patcher would discover there was
    no wide constant variant of the emitted jump.
    
    BUG=v8:4280,v8:4680
    LOG=N
    
    Review URL: https://codereview.chromium.org/1697473002
    
    Cr-Commit-Position: refs/heads/master@{#33952}
    47c08f5f
bytecode-array-builder.cc 54.1 KB