[Webkit-unassigned] [Bug 30769] [gcc/unix] Export WTF::fastMalloc, WTF::fastFree, WTF::fastCalloc, WTF::fastRealloc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 26 07:49:16 PDT 2009


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





--- Comment #3 from Darin Adler <darin at apple.com>  2009-10-26 07:49:15 PDT ---
(From update of attachment 41859)
> +#if COMPILER(GCC) && !PLATFORM(DARWIN)
> +#define WTF_FAST_MALLOC_EXPORT __attribute__((visibility("default")))
> +#else
> +#define WTF_FAST_MALLOC_EXPORT
> +#endif

Why ~PLATFORM(DARWIN)"?

If you are using __attribute__ then you should also use __visibility__.

Is it really helpful to do this just for these functions? Doesn't this need to
be done consistently across the rest of JavaScriptCore?

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