v8/test/unittests/wasm
rossberg 386c747b8a Upgrade Wasm JS API, step 1
Implements:
- WebAssembly object,
- WebAssembly.Module constructor,
- WebAssembly.Instance constructor,
- WebAssembly.compile async method,
- and Module and Instance instance objects.

Also, changes ErrorThrower to support capturing errors in a promise reject.

Since we cannot yet compile without fixing the Wasm memory, and cannot validate a module without compiling, the Module constructor and compile method don't do anything yet but checking that their argument is a suitable BufferSource. Instead of a compiled module, the hidden state of a Module object currently is just that buffer.

BUG=

Review-Url: https://codereview.chromium.org/2084573002
Cr-Commit-Position: refs/heads/master@{#37143}
2016-06-21 12:54:09 +00:00
..
asm-types-unittest.cc V8. ASM-2-WASM. Another asm-types.h revision. 2016-06-20 16:54:41 +00:00
ast-decoder-unittest.cc [wasm] Separate compilation from instantiation 2016-06-20 05:23:37 +00:00
control-transfer-unittest.cc [wasm] Implement an interpreter for WASM. 2016-05-25 08:33:10 +00:00
decoder-unittest.cc Upgrade Wasm JS API, step 1 2016-06-21 12:54:09 +00:00
encoder-unittest.cc [wasm] Remove renumbering of local variables from asm->wasm. 2016-05-17 17:57:34 +00:00
leb-helper-unittest.cc Upgrade Wasm JS API, step 1 2016-06-21 12:54:09 +00:00
loop-assignment-analysis-unittest.cc [formatting] Remove all double blank lines in WASM code. 2016-05-11 12:36:04 +00:00
module-decoder-unittest.cc Upgrade Wasm JS API, step 1 2016-06-21 12:54:09 +00:00
OWNERS
switch-logic-unittest.cc [wasm] optimized switch implementation in asm.js to wasm builder 2016-04-13 21:56:42 +00:00
wasm-macro-gen-unittest.cc [formatting] Remove all double blank lines in WASM code. 2016-05-11 12:36:04 +00:00