• Ben Titzer's avatar
    Revert "[wasm] Merge the WasmContext into WasmInstanceObject" · 8adb94fc
    Ben Titzer authored
    This reverts commit 57bf0bfe.
    
    Reason for revert: <INSERT REASONING HERE>
    
    Original change's description:
    > [wasm] Merge the WasmContext into WasmInstanceObject
    > 
    > 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.
    > 
    > Bug: v8:7424
    > 
    > Change-Id: Ic2e4b7bcc2feb20001d0553a615a8a9dff36317e
    > Reviewed-on: https://chromium-review.googlesource.com/958520
    > Commit-Queue: Ben Titzer <titzer@chromium.org>
    > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
    > Reviewed-by: Andreas Haas <ahaas@chromium.org>
    > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#52361}
    
    TBR=mstarzinger@chromium.org,titzer@chromium.org,ahaas@chromium.org,clemensh@chromium.org
    
    Change-Id: I653e27b46dbc43ad773eda4292d521a508f42d79
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: v8:7424
    Reviewed-on: https://chromium-review.googlesource.com/995418Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Commit-Queue: Ben Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52364}
    8adb94fc
Name
Last commit
Last update
..
embenchen Loading commit data...
OWNERS Loading commit data...
adapter-frame.js Loading commit data...
add-getters.js Loading commit data...
asm-wasm-copy.js Loading commit data...
asm-wasm-deopt.js Loading commit data...
asm-wasm-exception-in-tonumber.js Loading commit data...
asm-wasm-expr.js Loading commit data...
asm-wasm-f32.js Loading commit data...
asm-wasm-f64.js Loading commit data...
asm-wasm-heap.js Loading commit data...
asm-wasm-i32.js Loading commit data...
asm-wasm-literals.js Loading commit data...
asm-wasm-names.js Loading commit data...
asm-wasm-stack.js Loading commit data...
asm-wasm-stdlib.js Loading commit data...
asm-wasm-switch.js Loading commit data...
asm-wasm-u32.js Loading commit data...
asm-wasm.js Loading commit data...
asm-with-wasm-off.js Loading commit data...
async-compile.js Loading commit data...
atomics.js Loading commit data...
bounds-check-64bit.js Loading commit data...
calls.js Loading commit data...
compilation-limits-asm.js Loading commit data...
compilation-limits.js Loading commit data...
compiled-module-management.js Loading commit data...
compiled-module-serialization.js Loading commit data...
data-segments.js Loading commit data...
default-liftoff-setting.js Loading commit data...
disable-trap-handler.js Loading commit data...
disallow-codegen.js Loading commit data...
divrem-trap.js Loading commit data...
ensure-wasm-binaries-up-to-date.js Loading commit data...
errors.js Loading commit data...
exceptions.js Loading commit data...
export-global.js Loading commit data...
export-table.js Loading commit data...
expose-wasm.js Loading commit data...
ffi-error.js Loading commit data...
ffi.js Loading commit data...
float-constant-folding.js Loading commit data...
function-names.js Loading commit data...
function-prototype.js Loading commit data...
gc-buffer.js Loading commit data...
gc-frame.js Loading commit data...
gc-stress.js Loading commit data...
globals.js Loading commit data...
graceful_shutdown.js Loading commit data...
grow-memory-detaching.js Loading commit data...
grow-memory-in-branch.js Loading commit data...
grow-memory-in-call.js Loading commit data...
grow-memory-in-loop.js Loading commit data...
grow-memory.js Loading commit data...
huge-memory.js Loading commit data...
import-function.js Loading commit data...
import-memory.js Loading commit data...
incrementer.wasm Loading commit data...
indirect-calls.js Loading commit data...
indirect-sig-mismatch.js Loading commit data...
indirect-tables.js Loading commit data...
instance-gc.js Loading commit data...
instance-memory-gc-stress.js Loading commit data...
instantiate-module-basic.js Loading commit data...
instantiate-run-basic.js Loading commit data...
interpreter-mixed.js Loading commit data...
interpreter.js Loading commit data...
js-api.js Loading commit data...
jsapi-harness.js Loading commit data...
large-offset.js Loading commit data...
lazy-compilation.js Loading commit data...
liftoff-trap-handler.js Loading commit data...
liftoff.js Loading commit data...
many-parameters.js Loading commit data...
memory-external-call.js Loading commit data...
memory-instance-validation.js Loading commit data...
memory-size.js Loading commit data...
memory.js Loading commit data...
module-memory.js Loading commit data...
multi-value.js Loading commit data...
mutable-globals.js Loading commit data...
names.js Loading commit data...
parallel_compilation.js Loading commit data...
params.js Loading commit data...
receiver.js Loading commit data...
shared-memory.js Loading commit data...
stack.js Loading commit data...
stackwalk.js Loading commit data...
start-function.js Loading commit data...
streaming-compile.js Loading commit data...
streaming-error-position.js Loading commit data...
streaming-trap-location.js Loading commit data...
table-grow.js Loading commit data...
table.js Loading commit data...
test-wasm-module-builder.js Loading commit data...
trap-location.js Loading commit data...
unicode-validation.js Loading commit data...
unicode.js Loading commit data...
unreachable-validation.js Loading commit data...
unreachable.js Loading commit data...
user-properties-common.js Loading commit data...
user-properties-constructed.js Loading commit data...
user-properties-exported.js Loading commit data...
user-properties-module.js Loading commit data...
user-properties-reexport.js Loading commit data...
verify-module-basic-errors.js Loading commit data...
wasm-api-overloading.js Loading commit data...
wasm-constants.js Loading commit data...
wasm-default.js Loading commit data...
wasm-module-builder.js Loading commit data...
wasm-object-api.js Loading commit data...
worker-memory.js Loading commit data...