Changeset 64804 in webkit


Ignore:
Timestamp:
Aug 5, 2010 5:41:26 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-08-05 Chao-ying Fu <fu@mips.com>

Reviewed by Darin Adler.

Define WTF_USE_ARENA_ALLOC_ALIGNMENT_INTEGER for MIPS
https://bugs.webkit.org/show_bug.cgi?id=43514

MIPS needs to define WTF_USE_ARENA_ALLOC_ALIGNMENT_INTEGER, so that
RenderArena::allocate() can return 8-byte aligned memory to avoid
exceptions on sdc1/ldc1.

  • wtf/Platform.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r64801 r64804  
     12010-08-05  Chao-ying Fu  <fu@mips.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Define WTF_USE_ARENA_ALLOC_ALIGNMENT_INTEGER for MIPS
     6        https://bugs.webkit.org/show_bug.cgi?id=43514
     7
     8        MIPS needs to define WTF_USE_ARENA_ALLOC_ALIGNMENT_INTEGER, so that
     9        RenderArena::allocate() can return 8-byte aligned memory to avoid
     10        exceptions on sdc1/ldc1.
     11
     12        * wtf/Platform.h:
     13
    1142010-08-05  Gavin Barraclough  <barraclough@apple.com>
    215
  • trunk/JavaScriptCore/wtf/Platform.h

    r64798 r64804  
    143143#define WTF_MIPS_ISA_REV(v) (defined WTF_MIPS_ARCH_REV && WTF_MIPS_ARCH_REV == v)
    144144#define WTF_MIPS_DOUBLE_FLOAT (defined __mips_hard_float && !defined __mips_single_float)
     145/* MIPS requires allocators to use aligned memory */
     146#define WTF_USE_ARENA_ALLOC_ALIGNMENT_INTEGER 1
    145147#endif /* MIPS */
    146148
Note: See TracChangeset for help on using the changeset viewer.