Changeset 158692 in webkit


Ignore:
Timestamp:
Nov 5, 2013 2:30:15 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Fix build for architectures with 4 argument registers (broken since r158681).
https://bugs.webkit.org/show_bug.cgi?id=123826

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-11-05
Reviewed by Michael Saboff.

  • jit/CCallHelpers.h:

(JSC::CCallHelpers::setupArgumentsWithExecState):
(JSC::CCallHelpers::setupArguments):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r158687 r158692  
     12013-11-05  Julien Brianceau  <jbriance@cisco.com>
     2
     3        Fix build for architectures with 4 argument registers (broken since r158681).
     4        https://bugs.webkit.org/show_bug.cgi?id=123826
     5
     6        Reviewed by Michael Saboff.
     7
     8        * jit/CCallHelpers.h:
     9        (JSC::CCallHelpers::setupArgumentsWithExecState):
     10        (JSC::CCallHelpers::setupArguments):
     11
    1122013-11-05  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/jit/CCallHelpers.h

    r158681 r158692  
    914914    }
    915915   
    916     ALWAYS_INLINE void setupArguments(GPRReg arg1, TrustedImmPtr arg2, GPRReg arg3, GPRReg arg4, TrustedImmPtr arg5)
    917     {
    918         setupThreeStubArgsGPR<GPRInfo::argumentGPR0, GPRInfo::argumentGPR2, GPRInfo::argumentGPR3>(arg1, arg3, arg4);
    919         move(arg2, GPRInfo::argumentGPR1);
    920         move(arg5, GPRInfo::argumentGPR4);
    921     }
    922    
    923916    ALWAYS_INLINE void setupArguments(TrustedImmPtr arg1)
    924917    {
     
    14641457        move(arg4, GPRInfo::argumentGPR4);
    14651458        move(GPRInfo::callFrameRegister, GPRInfo::argumentGPR0);
     1459    }
     1460
     1461    ALWAYS_INLINE void setupArguments(GPRReg arg1, TrustedImmPtr arg2, GPRReg arg3, GPRReg arg4, TrustedImmPtr arg5)
     1462    {
     1463        setupThreeStubArgsGPR<GPRInfo::argumentGPR0, GPRInfo::argumentGPR2, GPRInfo::argumentGPR3>(arg1, arg3, arg4);
     1464        move(arg2, GPRInfo::argumentGPR1);
     1465        move(arg5, GPRInfo::argumentGPR4);
    14661466    }
    14671467#endif
Note: See TracChangeset for help on using the changeset viewer.