Title: [101198] trunk/Source/_javascript_Core
- Revision
- 101198
- Author
- [email protected]
- Date
- 2011-11-26 17:26:19 -0800 (Sat, 26 Nov 2011)
Log Message
Needs WTF_INLINE and JS_INLINE
https://bugs.webkit.org/show_bug.cgi?id=72853
Patch by Hajime Morrita <[email protected]> on 2011-11-26
Reviewed by Kevin Ollivier.
Added WTF_HIDDEN, WTF_INLINE and JS_INLINE which
indirect __attribute__((visibility("hidden"))
* config.h:
* wtf/ExportMacros.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (101197 => 101198)
--- trunk/Source/_javascript_Core/ChangeLog 2011-11-26 19:31:55 UTC (rev 101197)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-11-27 01:26:19 UTC (rev 101198)
@@ -1,3 +1,16 @@
+2011-11-26 Hajime Morrita <[email protected]>
+
+ Needs WTF_INLINE and JS_INLINE
+ https://bugs.webkit.org/show_bug.cgi?id=72853
+
+ Reviewed by Kevin Ollivier.
+
+ Added WTF_HIDDEN, WTF_INLINE and JS_INLINE which
+ indirect __attribute__((visibility("hidden"))
+
+ * config.h:
+ * wtf/ExportMacros.h:
+
2011-11-25 Michael Saboff <[email protected]>
String.prototype.toLower should be optimized for 8 bit strings
Modified: trunk/Source/_javascript_Core/config.h (101197 => 101198)
--- trunk/Source/_javascript_Core/config.h 2011-11-26 19:31:55 UTC (rev 101197)
+++ trunk/Source/_javascript_Core/config.h 2011-11-27 01:26:19 UTC (rev 101198)
@@ -36,10 +36,14 @@
#if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
#define WTF_EXPORT_PRIVATE WTF_EXPORT
+#define WTF_EXPORT_HIDDEN WTF_HIDDEN
#define JS_EXPORT_PRIVATE WTF_EXPORT
+#define JS_EXPORT_HIDDEN WTF_HIDDEN
#else
#define WTF_EXPORT_PRIVATE WTF_IMPORT
+#define WTF_EXPORT_HIDDEN
#define JS_EXPORT_PRIVATE WTF_IMPORT
+#define JS_EXPORT_HIDDEN
#endif
#define JS_EXPORTDATA JS_EXPORT_PRIVATE
@@ -60,10 +64,15 @@
#endif
#define WTF_EXPORT_PRIVATE
+#define WTF_EXPORT_HIDDEN
#define JS_EXPORT_PRIVATE
+#define JS_EXPORT_HIDDEN
#endif /* USE(EXPORT_MACROS) */
+#define WTF_INLINE WTF_EXPORT_HIDDEN inline
+#define JS_INLINE JS_EXPORT_HIDDEN inline
+
#if OS(WINDOWS)
#ifndef _WIN32_WINNT
Modified: trunk/Source/_javascript_Core/wtf/ExportMacros.h (101197 => 101198)
--- trunk/Source/_javascript_Core/wtf/ExportMacros.h 2011-11-26 19:31:55 UTC (rev 101197)
+++ trunk/Source/_javascript_Core/wtf/ExportMacros.h 2011-11-27 01:26:19 UTC (rev 101198)
@@ -35,12 +35,15 @@
#if !PLATFORM(CHROMIUM) && OS(WINDOWS) && !COMPILER(GCC)
#define WTF_EXPORT __declspec(dllexport)
#define WTF_IMPORT __declspec(dllimport)
+#define WTF_HIDDEN
#elif defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC__)
#define WTF_EXPORT __attribute__((visibility("default")))
#define WTF_IMPORT WTF_EXPORT
+#define WTF_HIDDEN __attribute__((visibility("hidden")))
#else
#define WTF_EXPORT
#define WTF_IMPORT
+#define WTF_HIDDEN
#endif
#endif /* ExportMacros_h */
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes