Ignore:
Timestamp:
Aug 27, 2009, 1:45:14 PM (16 years ago)
Author:
[email protected]
Message:

x86-64 GTK broken due to code offsets changing, pointers sometimes packed into immediates.
https://bugs.webkit.org/show_bug.cgi?id=28317

Reviewed by Oliver Hunt.

Missed one, fix part II.

  • assembler/MacroAssemblerX86Common.h:

(JSC::MacroAssemblerX86Common::move):

  • assembler/X86Assembler.h:

(JSC::CAN_SIGN_EXTEND_8_32):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/assembler/MacroAssemblerX86Common.h

    r47530 r47834  
    500500    void move(ImmPtr imm, RegisterID dest)
    501501    {
    502         if (CAN_SIGN_EXTEND_U32_64(imm.asIntptr()))
    503             m_assembler.movl_i32r(static_cast<int32_t>(imm.asIntptr()), dest);
    504         else
    505             m_assembler.movq_i64r(imm.asIntptr(), dest);
     502        m_assembler.movq_i64r(imm.asIntptr(), dest);
    506503    }
    507504
Note: See TracChangeset for help on using the changeset viewer.