v8/src/wasm
Michael Starzinger 21cbc91443 [asm.js] Ensure coercion of imports is non-observable.
This makes sure that the coercion of global import values to numbers
remains non-observable to JavaScript. It allows instantiation failures
to fall back to JavaScript proper without accidentally causing some
side-effect to happen twice. Also coercions might invalidate previous
checks done during linking or throw exceptions.

R=clemensh@chromium.org
TEST=mjsunit/regress/regress-6431
BUG=v8:6431

Change-Id: Ibe2f7a336bc0fb25532d526746ecc802e04bbd5c
Reviewed-on: https://chromium-review.googlesource.com/512544
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46051}
2017-06-20 13:55:35 +00:00
..
compilation-manager.cc [wasm] Introduce a compilation manager for WebAssembly 2017-06-12 12:46:42 +00:00
compilation-manager.h [wasm] Introduce a compilation manager for WebAssembly 2017-06-12 12:46:42 +00:00
decoder.h [wasm] Avoid reporting of unrelated compiler errors 2017-05-29 12:32:36 +00:00
function-body-decoder-impl.h [WASM] Simplify SIMD shuffle opcodes. 2017-06-13 23:40:51 +00:00
function-body-decoder.cc [wasm] SIMD/Atomics ops update to use the right prefix opcodes 2017-06-19 19:23:11 +00:00
function-body-decoder.h std::iterator is deprecated in C++17 2017-06-19 13:25:59 +00:00
leb-helper.h [wasm] Reuse LEB encoding logic in module builder 2017-04-25 11:32:21 +00:00
local-decl-encoder.cc [wasm] [cleanup] Move LocalDeclEncoder to own compilation unit 2017-04-25 10:56:01 +00:00
local-decl-encoder.h Reland "Make unittest link correctly again" 2017-05-03 10:44:07 +00:00
module-compiler.cc [asm.js] Ensure coercion of imports is non-observable. 2017-06-20 13:55:35 +00:00
module-compiler.h [wasm] Throttle the amount of unfinished work to avoid OOM (non-blocking) 2017-06-20 09:48:05 +00:00
module-decoder.cc [wasm] Avoid constructing overflowing WireBytesRefs 2017-06-20 13:48:44 +00:00
module-decoder.h [wasm] [cleanup] Introduce WireBytesRef struct 2017-06-12 12:57:21 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
signature-map.cc
signature-map.h
streaming-decoder.cc [wasm] [cleanup] Introduce and use base::make_unique 2017-06-09 15:16:33 +00:00
streaming-decoder.h [wasm] Streaming decoder 2017-05-11 09:46:31 +00:00
wasm-code-specialization.cc [wasm] [cleanup] Introduce WireBytesRef struct 2017-06-12 12:57:21 +00:00
wasm-code-specialization.h Add support to IdentityMap for deletion, iteration and AllocationPolicy. 2017-02-22 10:20:15 +00:00
wasm-debug.cc [cleanup] Remove return after UNREACHABLE 2017-05-22 13:10:01 +00:00
wasm-external-refs.cc MIPS: Fix unaligned memory access for 64-bit types in wasm-external-refs 2017-05-12 13:17:37 +00:00
wasm-external-refs.h
wasm-interpreter.cc [wasm] [cleanup] Introduce WireBytesRef struct 2017-06-12 12:57:21 +00:00
wasm-interpreter.h [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
wasm-js.cc Remove ~MaybeHandle and statically assert that handles are trivially copyable 2017-06-20 13:37:22 +00:00
wasm-js.h [wasm] [cleanup] Avoid shouting WASM 2017-06-09 16:24:19 +00:00
wasm-limits.h [wasm] Increase WebAssembly.Memory maximum size to 2GB 2017-06-16 03:35:09 +00:00
wasm-module-builder.cc [asm.js] Fix excessive function table sizes. 2017-05-19 14:14:17 +00:00
wasm-module-builder.h [asm.js] Tune initial buffer sizes and growing strategy. 2017-05-19 09:43:54 +00:00
wasm-module.cc Pass the string we're about to compile to embedder 2017-06-13 13:39:27 +00:00
wasm-module.h [wasm] [cleanup] Remove origin test methods 2017-06-13 08:28:42 +00:00
wasm-objects.cc std::iterator is deprecated in C++17 2017-06-19 13:25:59 +00:00
wasm-objects.h [wasm] [cleanup] Introduce WireBytesRef struct 2017-06-12 12:57:21 +00:00
wasm-opcodes.cc [wasm] SIMD/Atomics ops update to use the right prefix opcodes 2017-06-19 19:23:11 +00:00
wasm-opcodes.h [wasm] SIMD/Atomics ops update to use the right prefix opcodes 2017-06-19 19:23:11 +00:00
wasm-result.cc [wasm] Fix usages of ErrorThrower::Reify 2017-05-02 15:11:36 +00:00
wasm-result.h [wasm] Fix memory management for Result types 2017-05-08 14:26:57 +00:00
wasm-text.cc [wasm] SIMD/Atomics ops update to use the right prefix opcodes 2017-06-19 19:23:11 +00:00
wasm-text.h