Changeset 118240 in webkit for trunk/Source/JavaScriptCore/dfg/DFGCCallHelpers.h
- Timestamp:
- May 23, 2012, 1:52:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGCCallHelpers.h
r118030 r118240 116 116 } 117 117 118 ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImm32 arg1) 119 { 120 resetCallArguments(); 121 addCallArgument(GPRInfo::callFrameRegister); 122 addCallArgument(arg1); 123 } 124 118 125 ALWAYS_INLINE void setupArgumentsWithExecState(GPRReg arg1, GPRReg arg2) 119 126 { … … 133 140 134 141 ALWAYS_INLINE void setupArgumentsWithExecState(GPRReg arg1, TrustedImm32 arg2) 142 { 143 resetCallArguments(); 144 addCallArgument(GPRInfo::callFrameRegister); 145 addCallArgument(arg1); 146 addCallArgument(arg2); 147 } 148 149 ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImm32 arg1, GPRReg arg2) 135 150 { 136 151 resetCallArguments(); … … 428 443 } 429 444 445 ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImm32 arg1) 446 { 447 move(arg1, GPRInfo::argumentGPR1); 448 move(GPRInfo::callFrameRegister, GPRInfo::argumentGPR0); 449 } 450 430 451 ALWAYS_INLINE void setupArgumentsWithExecState(GPRReg arg1, GPRReg arg2) 431 452 { … … 456 477 457 478 ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImmPtr arg1, GPRReg arg2) 479 { 480 move(arg2, GPRInfo::argumentGPR2); // Move this first, so setting arg1 does not trample! 481 move(arg1, GPRInfo::argumentGPR1); 482 move(GPRInfo::callFrameRegister, GPRInfo::argumentGPR0); 483 } 484 485 ALWAYS_INLINE void setupArgumentsWithExecState(TrustedImm32 arg1, GPRReg arg2) 458 486 { 459 487 move(arg2, GPRInfo::argumentGPR2); // Move this first, so setting arg1 does not trample!
Note:
See TracChangeset
for help on using the changeset viewer.