• Clemens Hammacher's avatar
    [wasm] Publish Liftoff code before starting TurboFan · be62dcc2
    Clemens Hammacher authored
    The previous logic published whenever a TurboFan function was
    *finished*. Since we compile big functions first, the first TurboFan
    compilation can take quite some time, and we will only publish
    previously compiled Liftoff functions once that first TurboFan
    compilation is done.
    This CL changes that logic to publish all previous results *before*
    starting a TurboFan compilation.
    
    Drive-by: Add some trace events for interesting events.
    
    R=ahaas@chromium.org
    
    Bug: v8:8916, chromium:966351, chromium:944755
    Change-Id: I669d6ea16bdc3f29685df153a7ed45875c28a843
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1627532Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61791}
    be62dcc2
module-compiler.cc 86.5 KB