v8/src/wasm
Michael Achenbach fa4314da8b Revert "[wasm] Allow the initialization of a single compilation unit"
This reverts commit ca93156294.

Reason for revert: tsan:
https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/16007

Original change's description:
> [wasm] Allow the initialization of a single compilation unit
> 
> This CL adds a new function {InitializeCompilationUnit} to initialize
> a single compilation unit and not just all compilation units at once.
> This is necessary for streaming compilation eventually. This also
> required some refactoring on how the working queue for compilation units
> works. Previously the synchronization was done with an atomic counter,
> now it is done with a lock. Note that the code to finish compilation
> of a module still only works if the working queue gets only empty when
> all work is done. I plan to change this in a different CL.
> 
> Since the code would not be tested without streaming compilation, I added
> an experimental flag and a test to test the new code.
> 
> R=​clemensh@chromium.org, mtrofin@chromium.org
> 
> Change-Id: I839c04fd78d1ea8e1db202f2cbed41c4c2cf4f28
> Reviewed-on: https://chromium-review.googlesource.com/550096
> Commit-Queue: Andreas Haas <ahaas@chromium.org>
> Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
> Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#46348}

TBR=mtrofin@chromium.org,ahaas@chromium.org,clemensh@chromium.org

Change-Id: Ied6532f05463c0b78c8b8f5307d44640bcca8316
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/558224
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46350}
2017-06-30 12:06:36 +00:00
..
compilation-manager.cc [wasm] Run foreground compilation tasks as normal tasks 2017-06-30 09:33:17 +00:00
compilation-manager.h [wasm] Run foreground compilation tasks as normal tasks 2017-06-30 09:33:17 +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] In the FunctionBody, replace {base} by {offset} 2017-06-23 11:34:19 +00:00
function-body-decoder.h [wasm] In the FunctionBody, replace {base} by {offset} 2017-06-23 11:34:19 +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 Revert "[wasm] Allow the initialization of a single compilation unit" 2017-06-30 12:06:36 +00:00
module-compiler.h Revert "[wasm] Allow the initialization of a single compilation unit" 2017-06-30 12:06:36 +00:00
module-decoder.cc [wasm] Check that a function body exists before verifying it. 2017-06-28 12:35:36 +00:00
module-decoder.h Fix reverted PR for making histogram timers thread safe. 2017-06-27 20:03:12 +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 [wasm] Indirect calls without function table cause validation errors. 2016-11-09 08:37:44 +00:00
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] Introduce the TrapIf and TrapUnless operators to generate trap code. 2016-12-15 13:31:29 +00:00
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 [wasm] Use pending exceptions consistently 2017-06-29 10:23:45 +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 [wasm] Use pending exceptions consistently 2017-06-29 10:23:45 +00:00
wasm-module.h [wasm] Naming convention: get_origin() -> origin() 2017-06-29 18:30:07 +00:00
wasm-objects.cc [wasm] Remove some small TODOs and small fixes. 2017-06-28 12:09:04 +00:00
wasm-objects.h [wasm] Keep instances of imported code alive 2017-06-20 16:23:09 +00:00
wasm-opcodes.cc [wasm] Remove some small TODOs and small fixes. 2017-06-28 12:09:04 +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] Use pending exceptions consistently 2017-06-29 10:23:45 +00:00
wasm-result.h [wasm] Use pending exceptions consistently 2017-06-29 10:23:45 +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 [inspector] Split off interface-types.h 2016-12-05 13:32:24 +00:00