• rmcilroy's avatar
    [Interpreter] Optimize the Register Optimizer. · ed7bef5b
    rmcilroy authored
    Modify the Bytecode Register Optimizer to be an independent component
    rather than part of the BytecodePipeline. This means the BytecodeArrayBuilder
    can explicitly call it with register operands when outputting a bytecode
    and the Bytecode Register Optimizer doesn't need to work out which operands
    are register operands. This also means we don't need to build BytecodeNodes
    for Ldar / Star / Mov bytecodes unless they are actually emitted by the
    optimizer.
    
    This change also modifies the way the BytecodeArrayBuilder converts
    operands to make use of the OperandTypes specified in bytecodes.h.
    This avoids having to individually convert operands to their raw output
    value before calling Output(...).
    
    BUG=v8:4280
    
    Review-Url: https://codereview.chromium.org/2393683004
    Cr-Commit-Position: refs/heads/master@{#40543}
    ed7bef5b
Name
Last commit
Last update
..
bytecode-array-builder-unittest.cc Loading commit data...
bytecode-array-iterator-unittest.cc Loading commit data...
bytecode-array-writer-unittest.cc Loading commit data...
bytecode-dead-code-optimizer-unittest.cc Loading commit data...
bytecode-decoder-unittest.cc Loading commit data...
bytecode-peephole-optimizer-unittest.cc Loading commit data...
bytecode-pipeline-unittest.cc Loading commit data...
bytecode-register-allocator-unittest.cc Loading commit data...
bytecode-register-optimizer-unittest.cc Loading commit data...
bytecode-utils.h Loading commit data...
bytecodes-unittest.cc Loading commit data...
constant-array-builder-unittest.cc Loading commit data...
interpreter-assembler-unittest.cc Loading commit data...
interpreter-assembler-unittest.h Loading commit data...