Changeset 39287 in webkit for trunk/JavaScriptCore/wtf/Platform.h


Ignore:
Timestamp:
Dec 13, 2008, 11:19:40 PM (16 years ago)
Author:
[email protected]
Message:

2008-12-13 Gavin Barraclough <[email protected]>

Reviewed by Cameron Zwarich.

Re-enable WREC on 64-bit.
Implements one of the MacroAssembler::jnzPtr methods, previously only implemented for 32-bit x86.

https://bugs.webkit.org/show_bug.cgi?id=22849

  • assembler/MacroAssembler.h: (JSC::MacroAssembler::testImm64): (JSC::MacroAssembler::jnzPtr):
  • assembler/X86Assembler.h: (JSC::X86Assembler::testq_i32r): (JSC::X86Assembler::testq_rr):
  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r39226 r39287  
    432432#endif
    433433
    434 /* WREC only supports x86 at the moment, and has only been tested on Mac and Windows. */
    435 #if !defined(ENABLE_WREC) && PLATFORM(X86) && (PLATFORM(MAC) || PLATFORM(WIN))
     434/* WREC supports x86 & x86-64, and has been tested on Mac and Windows ('cept on 64-bit on Mac). */
     435#if (!defined(ENABLE_WREC) && PLATFORM(X86) && PLATFORM(MAC)) \
     436 || (!defined(ENABLE_WREC) && PLATFORM(X86_64) && PLATFORM(MAC)) \
     437 || (!defined(ENABLE_WREC) && PLATFORM(X86) && PLATFORM(WIN))
    436438#define ENABLE_WREC 1
    437439#endif
Note: See TracChangeset for help on using the changeset viewer.