• bjaideep's avatar
    PPC/s390: [builtins] Fix MathMaxMin on arm and arm64 · 32e843df
    bjaideep authored
    Port b86ac0e0
    
    Original commit message:
    
        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.
    
    R=jgruber@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
    
    BUG=v8:4815
    LOG=N
    
    Review-Url: https://codereview.chromium.org/2125913004
    Cr-Commit-Position: refs/heads/master@{#37567}
    32e843df
builtins-s390.cc 104 KB