• jgruber's avatar
    [builtins] Fix MathMaxMin on arm and arm64 · b86ac0e0
    jgruber authored
    Both of these were broken in different ways:
    * On arm, the loop counter was passed as argc on the stack.
    * On arm64, we passed argc + 1 instead of argc.
    
    The result in both cases was an incorrect receiver for the builtin frame
    when generating stack traces.
    
    BUG=v8:4815
    R=bmeurer@chromium.org
    
    Review-Url: https://codereview.chromium.org/2112883002
    Cr-Commit-Position: refs/heads/master@{#37471}
    b86ac0e0
builtins-arm.cc 101 KB