• Georgia Kouveli's avatar
    [arm64] Rewrite Generate_InterpreterPushArgs and its callers. · 01bd06f4
    Georgia Kouveli authored
    This moves the handling of the receiver and the final spread argument
    into Generate_InterpreterPushArgs and merges the stack allocation to a
    single claim operation for the whole argument setup. When we start
    padding arguments in TF, we will simply need to claim one extra slot
    and store padreg to it in Generate_InterpreterPushArgs (hence the
    remaining TODO).
    
    This also replaces the single use of Generate_CheckStackOverflow with
    Generate_StackOverflowCheck and removes the former. This change is also
    done for arm, ia32 and x64.
    
    Bug: v8:6644
    Change-Id: I8d06dda96dbc4a6f219b73c711f894320c2f6cdf
    Reviewed-on: https://chromium-review.googlesource.com/738031
    Commit-Queue: Georgia Kouveli <georgia.kouveli@arm.com>
    Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49005}
    01bd06f4
builtins-ia32.cc 98.2 KB