• Junliang Yan's avatar
    PPC/s390: [wasm] Merge the WasmContext into WasmInstanceObject · 66e03c88
    Junliang Yan authored
    Port a6d974fe
    
    Original Commit Message:
    
        This change makes lifetime management of WasmCode much simpler.
        By using the WasmInstanceObject as the context for WASM code execution,
        including the pointer to the memory base and indirect function tables,
        this keeps the instance alive when WASM code is on the stack, since
        the instance object is passed as a parameter and spilled onto the stack.
        This is in preparation of sharing the code between instances and
        isolates.
    
    R=titzer@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=
    LOG=N
    
    Change-Id: I03c3ecff296cca929c69489e769a5dab60b93830
    Reviewed-on: https://chromium-review.googlesource.com/1003117Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
    Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
    Cr-Commit-Position: refs/heads/master@{#52491}
    66e03c88
Name
Last commit
Last update
..
OWNERS Loading commit data...
builtins-s390.cc Loading commit data...