• Andreas Haas's avatar
    [wasm] Deserialized code is marked with top-tier-finished · a9f376aa
    Andreas Haas authored
    For deserialized modules the compilation state was not set to
    kFinishedTopTierCompilation and co. A consequence was that code that
    required top tier compilation to be finished to block indefinitely.
    
    With this CL the compilation state is initialized properly.
    
    I tested this CL locally with the regression test mentioned in the bug
    tracker issue. However, this regression test required to run this test
    twice in separate processes. It would be possible to write a regression
    test for this that runs on the bots, but I considered it not worth it.
    
    R=clemensb@chromium.org
    
    Bug: v8:11024
    Change-Id: Ib4e75eae03fab13a3ff013118fc1f33a1278b33f
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2494930Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70757}
    a9f376aa
regress-11024.js 716 Bytes