Changeset 41474 in webkit for trunk/JavaScriptCore/assembler
- Timestamp:
- Mar 5, 2009, 11:02:10 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/assembler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/assembler/MacroAssemblerX86_64.h
r41103 r41474 245 245 void storePtr(ImmPtr imm, ImplicitAddress address) 246 246 { 247 move(imm, scratchRegister); 248 storePtr(scratchRegister, address); 247 intptr_t ptr = imm.asIntptr(); 248 if (CAN_SIGN_EXTEND_32_64(ptr)) 249 m_assembler.movq_i32m(static_cast<int>(ptr), address.offset, address.base); 250 else { 251 move(imm, scratchRegister); 252 storePtr(scratchRegister, address); 253 } 249 254 } 250 255 -
trunk/JavaScriptCore/assembler/X86Assembler.h
r41089 r41474 928 928 } 929 929 930 void movq_i32m(int imm, int offset, RegisterID base) 931 { 932 m_formatter.oneByteOp64(OP_GROUP11_EvIz, GROUP11_MOV, base, offset); 933 m_formatter.immediate32(imm); 934 } 935 930 936 void movq_i64r(int64_t imm, RegisterID dst) 931 937 {
Note:
See TracChangeset
for help on using the changeset viewer.