• 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...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...