• Clemens Backes's avatar
    [liftoff] Move more options into LiftoffOptions · f1b6092c
    Clemens Backes authored
    {LiftoffOptions} already contains many (optional) parameters for Liftoff
    compilation, but not all of them.
    This CL moves the function index and the {for_debugging} field also into
    that struct, to further reduce the number of parameters to
    {ExecuteLiftoffCompilation} and to improve readability by having a
    factory-like initialization of the {LiftoffOptions} struct.
    That struct is now also passed down to the LiftoffCompiler directly
    instead of unpacking the fields again.
    
    R=thibaudm@chromium.org
    
    Bug: v8:12809
    Change-Id: I8824a1908f214cbf4c21f113934fef3ece1bf88b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3513894Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80032}
    f1b6092c
wasm-debug.cc 49.8 KB