v8/test/cctest/wasm
Clemens Hammacher 0a4c5c4411 [wasm] Cleanup wasm interpreter
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: Ben Titzer <titzer@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43793}
2017-03-14 16:18:18 +00:00
..
OWNERS Make clemensh owner (wasm, asmjs and general) 2017-01-13 10:20:44 +00:00
test-run-wasm-64.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-run-wasm-asmjs.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-run-wasm-interpreter.cc [wasm] Cleanup wasm interpreter 2017-03-14 16:18:18 +00:00
test-run-wasm-js.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-run-wasm-module.cc SnapshotCreator: start from existing snapshot if we have one 2017-03-07 16:36:51 +00:00
test-run-wasm-relocation.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-run-wasm-simd.cc Add several SIMD opcodes to IA32 2017-03-10 02:40:06 +00:00
test-run-wasm.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-wasm-breakpoints.cc [debugger,api] deprecate everything in v8-debug.h 2017-03-10 07:06:25 +00:00
test-wasm-interpreter-entry.cc [wasm] Fix interpreter entry for i64 return type 2017-03-07 18:03:08 +00:00
test-wasm-stack.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
test-wasm-trap-position.cc [wasm] Initial signal handler 2017-03-13 22:12:23 +00:00
wasm-run-utils.h [wasm] Cleanup wasm interpreter 2017-03-14 16:18:18 +00:00