Changeset 72289 in webkit


Ignore:
Timestamp:
Nov 18, 2010 5:51:26 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-11-18 Chao-ying Fu <fu@mips.com>

Reviewed by Csaba Osztrogonác.

Avoid increasing required alignment of target type warning
https://bugs.webkit.org/show_bug.cgi?id=43963

  • runtime/UString.h: (JSC::UStringHash::equal):
  • wtf/StdLibExtras.h:
Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r72232 r72289  
     12010-11-18  Chao-ying Fu  <fu@mips.com>
     2
     3        Reviewed by Csaba Osztrogonác.
     4
     5        Avoid increasing required alignment of target type warning
     6        https://bugs.webkit.org/show_bug.cgi?id=43963
     7
     8        * runtime/UString.h:
     9        (JSC::UStringHash::equal):
     10        * wtf/StdLibExtras.h:
     11
    1122010-11-17  Sam Weinig  <sam@webkit.org>
    213
  • trunk/JavaScriptCore/runtime/UString.h

    r65593 r72289  
    203203        // FIXME: perhaps we should have a more abstract macro that indicates when
    204204        // going 4 bytes at a time is unsafe
    205 #if CPU(ARM) || CPU(SH4)
     205#if CPU(ARM) || CPU(SH4) || CPU(MIPS)
    206206        const UChar* aChars = a->characters();
    207207        const UChar* bChars = b->characters();
  • trunk/JavaScriptCore/wtf/StdLibExtras.h

    r70425 r72289  
    6262 * - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43976
    6363 */
    64 #if CPU(ARM) && COMPILER(GCC)
     64#if (CPU(ARM) || CPU(MIPS)) && COMPILER(GCC)
    6565template<typename Type>
    6666bool isPointerTypeAlignmentOkay(Type* ptr)
Note: See TracChangeset for help on using the changeset viewer.