Changeset 196938 in webkit


Ignore:
Timestamp:
Feb 22, 2016 9:34:37 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Fixed compilation of bmalloc with GCC 4.8 after r196873.
https://bugs.webkit.org/show_bug.cgi?id=154534

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-02-22
Reviewed by Mark Lam.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55382.

  • bmalloc/LargeChunk.h:
  • bmalloc/SmallChunk.h:
Location:
trunk/Source/bmalloc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/bmalloc/ChangeLog

    r196873 r196938  
     12016-02-22  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        Fixed compilation of bmalloc with GCC 4.8 after r196873.
     4        https://bugs.webkit.org/show_bug.cgi?id=154534
     5
     6        Reviewed by Mark Lam.
     7
     8        See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55382.
     9
     10        * bmalloc/LargeChunk.h:
     11        * bmalloc/SmallChunk.h:
     12
    1132016-02-21  Geoffrey Garen  <ggaren@apple.com>
    214
  • trunk/Source/bmalloc/bmalloc/LargeChunk.h

    r196873 r196938  
    6666
    6767    std::array<BoundaryTag, boundaryTagCount> m_boundaryTags;
    68     char m_memory[] __attribute__((aligned(largeAlignment)));
     68    char m_memory[] __attribute__((aligned(largeAlignment+0)));
    6969};
    7070
  • trunk/Source/bmalloc/bmalloc/SmallChunk.h

    r196873 r196938  
    4949    std::array<SmallLine, smallChunkSize / smallLineSize> m_lines;
    5050    std::array<SmallPage, smallChunkSize / vmPageSize> m_pages;
    51     char m_memory[] __attribute__((aligned(smallLineSize)));
     51    char m_memory[] __attribute__((aligned(smallLineSize+0)));
    5252};
    5353
Note: See TracChangeset for help on using the changeset viewer.