Changeset 43439 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
May 9, 2009, 8:44:28 AM (16 years ago)
Author:
[email protected]
Message:

2009-05-09 Gustavo Noronha Silva <Gustavo Noronha Silva>

Suggested by Geoffrey Garen.

Assume SSE2 is present on X86-64 and on MAC X86-32. This fixes a
build breakage on non-Mac X86-64 when JIT is enabled.

  • jit/JITArithmetic.cpp:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r43437 r43439  
     12009-05-09  Gustavo Noronha Silva  <[email protected]>
     2
     3        Suggested by Geoffrey Garen.
     4
     5        Assume SSE2 is present on X86-64 and on MAC X86-32. This fixes a
     6        build breakage on non-Mac X86-64 when JIT is enabled.
     7
     8        * jit/JITArithmetic.cpp:
     9
    1102009-05-09  Gustavo Noronha Silva  <[email protected]>
    211
  • trunk/JavaScriptCore/jit/JITArithmetic.cpp

    r43431 r43439  
    4545using namespace std;
    4646
    47 #if PLATFORM(MAC)
     47// All X86 Macs are guaranteed to support at least SSE2
     48#if PLATFORM(X86_64) || (PLATFORM(X86) && PLATFORM(MAC))
    4849
    4950static inline bool isSSE2Present()
    5051{
    51     return true; // All X86 Macs are guaranteed to support at least SSE2
     52    return true;
    5253}
    5354
Note: See TracChangeset for help on using the changeset viewer.