Changeset 56403 in webkit


Ignore:
Timestamp:
Mar 23, 2010 11:30:52 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-23 Kent Hansen <kent.hansen@nokia.com>

Reviewed by Darin Adler.

Fix compilation on Itanium in 32-bit mode
https://bugs.webkit.org/show_bug.cgi?id=36494

  • wtf/Platform.h: Introduce CPU(IA64_32). Don't define WTF_USE_JSVALUE64 if the CPU is in 32-bit mode.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r56400 r56403  
     12010-03-23  Kent Hansen  <kent.hansen@nokia.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Fix compilation on Itanium in 32-bit mode
     6        https://bugs.webkit.org/show_bug.cgi?id=36494
     7
     8        * wtf/Platform.h: Introduce CPU(IA64_32). Don't define
     9          WTF_USE_JSVALUE64 if the CPU is in 32-bit mode.
     10
    1112010-03-23  Geoffrey Garen  <ggaren@apple.com>
    212
  • trunk/JavaScriptCore/wtf/Platform.h

    r56215 r56403  
    103103#if defined(__ia64__)
    104104#define WTF_CPU_IA64 1
     105/* 32-bit mode on Itanium */
     106#if !defined(__LP64__)
     107#define WTF_CPU_IA64_32 1
     108#endif
    105109#endif
    106110
     
    862866#if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
    863867#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) \
    864     || CPU(IA64) \
     868    || (CPU(IA64) && !CPU(IA64_32)) \
    865869    || CPU(ALPHA) \
    866870    || CPU(SPARC64)
Note: See TracChangeset for help on using the changeset viewer.