• Clemens Backes's avatar
    [wasm] Fix tier down on streaming with error · c5c5d144
    Clemens Backes authored
    Recompilation for tier down should not be triggered if the module had a
    compile error. This CL ensures that by moving the recompilation a bit
    later in the async compilation, to a place where a compile error would
    have been detected already. An added DCHECK would catch similar bugs
    earlier (crashing instead of timing out).
    
    R=ahaas@chromium.org
    
    Bug: chromium:1160031
    Change-Id: I7eb3d2921db0f28bb39e9ec6150fd98fd4b99089
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2649028
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72329}
    c5c5d144
module-compiler.cc 137 KB