[Webkit-unassigned] [Bug 88344] Fix FastMalloc.cpp compile error for MSVC in 64-bit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 12 18:37:28 PDT 2012


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #147167|review?                     |review-
               Flag|                            |




--- Comment #16 from Ryosuke Niwa <rniwa at webkit.org>  2012-06-12 18:37:27 PST ---
(From update of attachment 147167)
View in context: https://bugs.webkit.org/attachment.cgi?id=147167&action=review

> Source/WTF/wtf/FastMalloc.cpp:2489
> +static TCMalloc_Central_FreeListPadded<(64 - (sizeof(TCMalloc_Central_FreeList) % 64)) % 64> central_cache[kNumClasses];

Oh, you should probably put this back in struct and just pass sizeof as the argument.
Aldo, please typedef it so that users of this type doesn't need to know the trick we're using.

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