• Clemens Backes's avatar
    [wasm] Rename "OnModuleCompiled" and related callbacks · 61a6fd84
    Clemens Backes authored
    Already after enabling Liftoff, the name did not match the semantics any
    more. The callback was called after top-tier finished, not after initial
    compilation of the module finished.
    With dynamic tiering, the name is even less fitting.
    
    This CL renames the "OnModuleCompiled" callback in the API to
    "MoreFunctionsCanBeSerialized", which makes it more obvious what the
    API should be used for. It also internally renames all related typedefs
    and methods accordingly.
    
    One call of the callback in the streaming decoder was already wrong
    before this CL and is being removed.
    
    R=jkummerow@chromium.org, cbruni@chromium.org
    
    Bug: v8:12899
    Change-Id: I95c0fc9e32442383e47e4370e31277cc065bf0fe
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3687689Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81093}
    61a6fd84
wasm-js.cc 124 KB