• Michael Achenbach's avatar
    Revert "[wasm] Allow the initialization of a single compilation unit" · fa4314da
    Michael Achenbach authored
    This reverts commit ca931562.
    
    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/558224Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
    Commit-Queue: Michael Achenbach <machenbach@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46350}
    fa4314da
Name
Last commit
Last update
..
OWNERS Loading commit data...
compilation-manager.cc Loading commit data...
compilation-manager.h Loading commit data...
decoder.h Loading commit data...
function-body-decoder-impl.h Loading commit data...
function-body-decoder.cc Loading commit data...
function-body-decoder.h Loading commit data...
leb-helper.h Loading commit data...
local-decl-encoder.cc Loading commit data...
local-decl-encoder.h Loading commit data...
module-compiler.cc Loading commit data...
module-compiler.h Loading commit data...
module-decoder.cc Loading commit data...
module-decoder.h Loading commit data...
signature-map.cc Loading commit data...
signature-map.h Loading commit data...
streaming-decoder.cc Loading commit data...
streaming-decoder.h Loading commit data...
wasm-code-specialization.cc Loading commit data...
wasm-code-specialization.h Loading commit data...
wasm-debug.cc Loading commit data...
wasm-external-refs.cc Loading commit data...
wasm-external-refs.h Loading commit data...
wasm-interpreter.cc Loading commit data...
wasm-interpreter.h Loading commit data...
wasm-js.cc Loading commit data...
wasm-js.h Loading commit data...
wasm-limits.h Loading commit data...
wasm-module-builder.cc Loading commit data...
wasm-module-builder.h Loading commit data...
wasm-module.cc Loading commit data...
wasm-module.h Loading commit data...
wasm-objects.cc Loading commit data...
wasm-objects.h Loading commit data...
wasm-opcodes.cc Loading commit data...
wasm-opcodes.h Loading commit data...
wasm-result.cc Loading commit data...
wasm-result.h Loading commit data...
wasm-text.cc Loading commit data...
wasm-text.h Loading commit data...