• Clemens Hammacher's avatar
    [wasm] Cleanup wasm interpreter · 0a4c5c44
    Clemens Hammacher authored
    This is a cleanup in preparation to implement calling imported
    functions via the wasm interpreter.
    For imported functions, we do not create entries in the
    interpreter_code_ vector any more.
    
    I also simplified the interface and removed unused or redundant return
    values. More things are now DCHECKed instead of bailing out.
    
    Also, we previously had two PushFrame methods: One is supposed to
    initialize the interpreter from external code (i.e. adds the first
    frame to the stack), the other one is used to push new frames on the
    frame stack for called functions. This CL renames the first to
    InitFrame, and makes it use the second one. The other remaining user is
    the DoCall method.
    
    R=titzer@chromium.org
    BUG=v8:5822
    
    Change-Id: Id09ff1e3256428fbd8c955e4664507a0c3167e53
    Reviewed-on: https://chromium-review.googlesource.com/453482
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43793}
    0a4c5c44
Name
Last commit
Last update
..
OWNERS Loading commit data...
decoder.h Loading commit data...
function-body-decoder-impl.h Loading commit data...
function-body-decoder.cc Loading commit data...
function-body-decoder.h Loading commit data...
leb-helper.h Loading commit data...
module-decoder.cc Loading commit data...
module-decoder.h Loading commit data...
signature-map.cc Loading commit data...
signature-map.h Loading commit data...
wasm-code-specialization.cc Loading commit data...
wasm-code-specialization.h Loading commit data...
wasm-debug.cc Loading commit data...
wasm-external-refs.cc Loading commit data...
wasm-external-refs.h Loading commit data...
wasm-interpreter.cc Loading commit data...
wasm-interpreter.h Loading commit data...
wasm-js.cc Loading commit data...
wasm-js.h Loading commit data...
wasm-limits.h Loading commit data...
wasm-macro-gen.h Loading commit data...
wasm-module-builder.cc Loading commit data...
wasm-module-builder.h Loading commit data...
wasm-module.cc Loading commit data...
wasm-module.h Loading commit data...
wasm-objects.cc Loading commit data...
wasm-objects.h Loading commit data...
wasm-opcodes.cc Loading commit data...
wasm-opcodes.h Loading commit data...
wasm-result.cc Loading commit data...
wasm-result.h Loading commit data...
wasm-text.cc Loading commit data...
wasm-text.h Loading commit data...