• Clemens Backes's avatar
    [wasm] Fix code size estimate for async compilation · 8393133d
    Clemens Backes authored
    When computing the code size estimate for {PrepareAndStartCompile}, we
    did not consider Liftoff code in the async path. Other invocations
    checked {FLAG_liftoff} to decide whether Liftoff code will be generated.
    This CL fixes the async path to do the same, and renames {uses_liftoff}
    to {include_liftoff} to match the name of the parameter in
    {EstimateNativeModuleCodeSize}.
    
    R=ahaas@chromium.org
    
    Bug: v8:12520
    Change-Id: Ic92237dc05ac96ddd88c3e8788cd443c83bd446f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3367624Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78492}
    8393133d
module-compiler.cc 155 KB