[Webkit-unassigned] [Bug 88344] Fix FastMalloc.cpp compile error for MSVC in 64-bit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 14 13:45:33 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=88344
--- Comment #29 from Alex Christensen <alex.christensen at flexsim.com> 2012-06-14 13:45:31 PST ---
> oh oops, okay, then let's just use the template directly. By the way, template argument should probably be size_t instead of int.
even using a template directly requires reordering like I did because of line 499:
class TCMalloc_Central_FreeListPadded;
which would have to be changed to
template <int> class TCMalloc_Central_FreeListPadded;
All the pointers to TCMalloc_Central_FreeListPadded* would have to be changed to TCMalloc_Central_FreeListPadded<...sizeof...>* which means TCMalloc_Central_FreeList would have to already have been defined.
Basically there are two fixes:
1) use specialized templates for MSVC
2) reorder the whole cpp file
Which would be better?
--
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