• rmcilroy's avatar
    [Interpreter] Make InterpreterAssembler a subclass of CodeStubAssembler. · d1c28849
    rmcilroy authored
    Moves InterpreterAssembler out of the compiler directory and into the
    interpreter directory. Makes InterpreterAssembler as subclass of
    CodeStubAssembler.
    
    As part of this change, the special bytecode dispatch linkage type
    is removed and instead we use a InterfaceDispatchDescriptor and
    a normal CodeStub linkage type.
    
    Removes a bunch of duplicated logic in InterpreterAssembler and
    instead uses the CodeStubAssembler logic. Refactors Interpreter
    with these changes.
    
    Modifies CodeStubAssembler to add the extra operations required
    by the Interpreter (extra call types, raw memory access and some extra
    binary ops). Also adds the ability for subclasses to add extra
    prologue and epilogue operations around calls, which is required
    for the Interpreter.
    
    BUG=v8:4280
    LOG=N
    
    Review URL: https://codereview.chromium.org/1673333004
    
    Cr-Commit-Position: refs/heads/master@{#33873}
    d1c28849
interface-descriptors-mips.cc 13.5 KB