• Andreas Haas's avatar
    [wasm][streaming] Only clear the compilation_unit_builder_ if it exists · 3121ffeb
    Andreas Haas authored
    The CompilationUnitBuilder of the StreamingProcessor is cleared when an
    error occurs in the streaming decoder. The clearing of the
    CompilationUnitBuilder was guarded by the existence of the
    ModuleCompiler, because this ModuleCompiler and the
    CompilationUnitBuilder are created together. However, the
    CompilationUnitBuilder is reset when the next section after the code
    section is processed, whereas the ModuleCompiler exists until the end of
    the AsyncCompileJob. With this CL the clearing of the
    CompilationUnitBuilder is also guarded by its own existence.
    
    R=clemensh@chromium.org
    
    Bug: chromium:805346
    Change-Id: I0e9e9eaff9239fadb21c0f17990da61cbfaa6856
    Reviewed-on: https://chromium-review.googlesource.com/883527
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50844}
    3121ffeb
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
d8_default.gyp Loading commit data...
d8_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...