Skip to content
  • eric@webkit.org's avatar
    2010-05-15 Dave Tapuska <dtapuska@rim.com> · ab1720d7
    eric@webkit.org authored
            Reviewed by Darin Adler.
    
            Add a new define for we need strict arena alignment. ARMv5 with
            double word instructions set this value.
    
            * wtf/Platform.h:
    2010-05-15  Dave Tapuska  <dtapuska@rim.com>
    
            Reviewed by Darin Adler.
    
            Fix alignment faults on ARMv5TE architectures.
    
            In debug mode the RenderAreaDebugHeader was 12 bytes which
            caused an alignment failure for RenderObjects because they
            would start on a 4 byte boundary. Align the RenderArenaDebugHeader
            using the ARENA_ALIGN macro.
    
            In NDEBUG mode the RenderArena objects come from a pool which
            has 4 byte alignment. Allow the alignment to be based on the
            AllocAlignmentInteger. This define will be activated for ARMv5TE.
    
            https://bugs.webkit.org/show_bug.cgi?id=19946
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ab1720d7