• Junliang Yan's avatar
    PPC/s390: [assembler] Allow to pass custom buffer implementations · 943b5d02
    Junliang Yan authored
    Port 1a3aab51
    
    Original Commit Message:
    
        When generating an Assembler, you currently have two choices: Either
        let the Assembler allocate a growable internal buffer, which is owned
        by the Assembler. Or provide an externally allocated buffer, which
        cannot grow.
        This CL changes this interface to allow providing any implementation of
        a buffer. The provided buffer can be a view to an externally owned
        buffer, which still can grow.
        This will be used to split WebAssembly compilation and code submission.
        The buffer needs to be able to grow, but cannot be owned by the
        Assembler because it has to survive until the code is submitted.
    
    R=clemensh@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: Id9383db813b13ea1d9eab485724aeb55b08cdfee
    Reviewed-on: https://chromium-review.googlesource.com/c/1416310Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
    Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#58865}
    943b5d02
Name
Last commit
Last update
..
OWNERS Loading commit data...
assembler-ppc-inl.h Loading commit data...
assembler-ppc.cc Loading commit data...
assembler-ppc.h Loading commit data...
code-stubs-ppc.cc Loading commit data...
constants-ppc.cc Loading commit data...
constants-ppc.h Loading commit data...
cpu-ppc.cc Loading commit data...
deoptimizer-ppc.cc Loading commit data...
disasm-ppc.cc Loading commit data...
frame-constants-ppc.cc Loading commit data...
frame-constants-ppc.h Loading commit data...
interface-descriptors-ppc.cc Loading commit data...
macro-assembler-ppc.cc Loading commit data...
macro-assembler-ppc.h Loading commit data...
register-ppc.h Loading commit data...
simulator-ppc.cc Loading commit data...
simulator-ppc.h Loading commit data...