Changeset 52731 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Jan 4, 2010, 5:18:51 AM (15 years ago)
Author:
[email protected]
Message:

2010-01-04 Maciej Stachowiak <[email protected]>

Reviewed by Simon Hausmann.

Fix some PLATFORM(*_ENDIAN) uses to CPU()
https://bugs.webkit.org/show_bug.cgi?id=33148

  • runtime/JSCell.cpp: (JSC::):
  • runtime/JSValue.h: (JSC::JSValue::):

2010-01-04 Maciej Stachowiak <[email protected]>

Reviewed by Simon Hausmann.

Fix some PLATFORM(*_ENDIAN) uses to CPU()
https://bugs.webkit.org/show_bug.cgi?id=33148

  • platform/image-decoders/bmp/BMPImageReader.h: (WebCore::BMPImageReader::readUint16): (WebCore::BMPImageReader::readUint32): (WebCore::BMPImageReader::readCurrentPixel):
Location:
trunk/JavaScriptCore/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSCell.cpp

    r52178 r52731  
    6060   
    6161} NaNInf = { {
    62 #if PLATFORM(BIG_ENDIAN)
     62#if CPU(BIG_ENDIAN)
    6363    { 0x7f, 0xf8, 0, 0, 0, 0, 0, 0 },
    6464    { 0x7f, 0xf0, 0, 0, 0, 0, 0, 0 }
    65 #elif PLATFORM(MIDDLE_ENDIAN)
     65#elif CPU(MIDDLE_ENDIAN)
    6666    { 0, 0, 0xf8, 0x7f, 0, 0, 0, 0 },
    6767    { 0, 0, 0xf0, 0x7f, 0, 0, 0, 0 }
  • trunk/JavaScriptCore/runtime/JSValue.h

    r52026 r52731  
    236236            EncodedJSValue asEncodedJSValue;
    237237            double asDouble;
    238 #if PLATFORM(BIG_ENDIAN)
     238#if CPU(BIG_ENDIAN)
    239239            struct {
    240240                int32_t tag;
Note: See TracChangeset for help on using the changeset viewer.