v8/test/cctest/wasm
danno fe552636be [turbofan] Support variable size argument removal in TF-generated functions
This is preparation for using TF to create builtins that handle variable number of
arguments and have to remove these arguments dynamically from the stack upon
return.

The gist of the changes:
- Added a second argument to the Return node which specifies the number of stack
  slots to pop upon return in addition to those specified by the Linkage of the
  compiled function.
- Removed Tail -> Non-Tail fallback in the instruction selector. Since TF now should
  handles all tail-call cases except where the return value type differs, this fallback
  was not really useful and in fact caused unexpected behavior with variable
  sized argument popping, since it wasn't possible to materialize a Return node
  with the right pop count from the TailCall without additional context.
- Modified existing Return generation to pass a constant zero as the additional
  pop argument since the variable pop functionality

LOG=N

Review-Url: https://codereview.chromium.org/2446543002
Cr-Commit-Position: refs/heads/master@{#40699}
2016-11-02 13:15:57 +00:00
..
OWNERS Adding a few more owners to the wasm directory. 2016-06-29 17:38:30 +00:00
test-managed.cc [wasm] Add a Managed<T> wrapper class for allocating C++ classes that are deleted when the wrapper is garbage collected. 2016-10-17 09:28:40 +00:00
test-run-wasm-64.cc [wasm] Binary 0xD: update encoding of opcodes, types, and add immediates. 2016-10-26 16:56:49 +00:00
test-run-wasm-asmjs.cc [wasm] Move test-signatures.h from test/cctest to test/common 2016-10-05 12:00:03 +00:00
test-run-wasm-interpreter.cc [wasm] Track in the interpreter if a NaN could have been produced. 2016-10-20 14:27:45 +00:00
test-run-wasm-js.cc [wasm] Move test-signatures.h from test/cctest to test/common 2016-10-05 12:00:03 +00:00
test-run-wasm-module.cc [wasm] Do not run the infinite loop test if FLAG_dump_wasm_module is true 2016-10-31 17:56:37 +00:00
test-run-wasm-relocation.cc [wasm] Master CL for Binary 0xC changes. 2016-09-27 20:46:30 +00:00
test-run-wasm-simd-lowering.cc [wasm] simd scalar lowering F32x4Add and I32x4Add 2016-10-20 00:20:07 +00:00
test-run-wasm-simd.cc [wasm] fix Simd ExtractLane to take immediate instead of param 2016-09-08 17:16:03 +00:00
test-run-wasm.cc [wasm] Use correct parameter type in wasm-run-utils.h 2016-10-31 10:51:51 +00:00
test-wasm-stack.cc [wasm] Move test-signatures.h from test/cctest to test/common 2016-10-05 12:00:03 +00:00
test-wasm-trap-position.cc [wasm] Move test-signatures.h from test/cctest to test/common 2016-10-05 12:00:03 +00:00
wasm-run-utils.h [turbofan] Support variable size argument removal in TF-generated functions 2016-11-02 13:15:57 +00:00