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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 8 06:34:45 PDT 2010


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


Gabor Loki <loki at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #54156|0                           |1
        is obsolete|                            |
  Attachment #54156|review?                     |
               Flag|                            |
  Attachment #58134|                            |review?, commit-queue-
               Flag|                            |




--- Comment #9 from Gabor Loki <loki at webkit.org>  2010-06-08 06:34:42 PST ---
Created an attachment (id=58134)
 --> (https://bugs.webkit.org/attachment.cgi?id=58134)
Fix VectorBuffer's alignment on ARM (v2)

I have just looked at C++ standard and found a better solution than the previous one.
We can use static_cast to void* which has no alignment problem on any type, and of course it will not break the value of m_inlineBuffer.buffer (which was an array type in the reinterpret_cast).

-- 
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