[Webkit-unassigned] [Bug 38045] New: Fix VectorBuffer's alignment on ARM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 23 07:17:30 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38045

           Summary: Fix VectorBuffer's alignment on ARM
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loki at webkit.org


Although bug 16925 fixed the alignment problem on many platforms, the problem
still exists on ARM (see the ARMv5 buildbot).

One example warning:
JavaScriptCore/wtf/Vector.h:484: warning: cast from 'WTF::AlignedBufferChar*'
to 'JSC::Register*' increases required alignment of target type

The problem is that the reinterpret_cast tries to cast from char* to a pointer
of a bigger type. A possible solution is adding alignment to the array elements
instead of the whole array.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list