• Clemens Backes's avatar
    [wasm] Merge immediate "completion" into "validation" · 616a75f1
    Clemens Backes authored
    The split between "Complete" methods and "Validate" methods is subtle
    and undocumented. The "Complete" methods are only used in places where
    we know that the function is valid anyway: Printing wasm code and
    getting stack effects of an instruction (for the interpreter). Both are
    also not performance critical.
    Hence this CL merges the "Complete" methods in the respective "Validate"
    methods and just call the latter instead of the former.
    
    R=jkummerow@chromium.org
    
    Bug: v8:11831
    Change-Id: Id9591c73587262c30b8c56770b090f2b0d2d45b0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2922118Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#74882}
    616a75f1
function-body-decoder.cc 10.4 KB