v8/test
Andreas Haas d9b42b7b34 [wasm] Handle modules without code in streaming compilation
Streaming compilation started the compilation of a module at the
beginning of the code section. However, there exist valid modules which
do not contain a code section. In this CL we check for the existence of
a code section when we finish the stream. We do this by checking if the
module compiler in the AsyncCompileJob exists, because the module
compiler gets initialized at the beginning of the code section.

If we detect that compilation has not been started because there was no
code section, then we start compilation when the stream finishes.

R=clemensh@chromium.org

Bug: chromium:771973
Change-Id: I7c95a7a791d02254f086961e7cd81885eec27382
Reviewed-on: https://chromium-review.googlesource.com/778541
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49494}
2017-11-20 13:58:04 +00:00
..
benchmarks Remove env field from testcase. 2017-11-16 15:26:06 +00:00
cctest [wasm] Handle modules without code in streaming compilation 2017-11-20 13:58:04 +00:00
common [wasm] Support block parameters 2017-10-24 11:44:26 +00:00
debugger Remove env field from testcase. 2017-11-16 15:26:06 +00:00
fuzzer Remove always-on flags for RegExp dotAll and lookbehind 2017-11-17 16:47:19 +00:00
inspector [coverage] Include operators in Conditional ranges 2017-11-20 12:09:30 +00:00
intl Remove env field from testcase. 2017-11-16 15:26:06 +00:00
js-perf-test [js-perf-test] Add Collection constructor and double type microbenchmarks 2017-11-16 07:21:05 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message Remove env field from testcase. 2017-11-16 15:26:06 +00:00
mjsunit [coverage] Include operators in Conditional ranges 2017-11-20 12:09:30 +00:00
mkgrokdump Remove shell info from testcase. 2017-11-16 15:42:26 +00:00
mozilla Remove always-on flag --harmony-strict-legacy-accessor-builtins 2017-11-17 04:06:30 +00:00
preparser Remove shell info from testcase. 2017-11-16 15:42:26 +00:00
promises-aplus Remove env field from testcase. 2017-11-16 15:26:06 +00:00
test262 Remove always-on flags for RegExp dotAll and lookbehind 2017-11-17 16:47:19 +00:00
unittests [turbofan] Remove the unused ToBooleanHints. 2017-11-20 09:42:38 +00:00
wasm-spec-tests Remove env field from testcase. 2017-11-16 15:26:06 +00:00
webkit Remove env field from testcase. 2017-11-16 15:26:06 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00