Title: [128695] trunk/Source/WTF
- Revision
- 128695
- Author
- [email protected]
- Date
- 2012-09-15 15:48:42 -0700 (Sat, 15 Sep 2012)
Log Message
llint: Implement LOCAL_LABEL_STRING for the BSD platforms.
https://bugs.webkit.org/show_bug.cgi?id=96870
Patch by Raphael Kubo da Costa <[email protected]> on 2012-09-15
Reviewed by Filip Pizlo.
* wtf/InlineASM.h: Extend the definition of LOCAL_LABEL_STRING
currently used for OS(LINUX) to the BSDs, since they also normally
use GNU as, and clang/llvm seems to parse that syntax just fine as
well.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (128694 => 128695)
--- trunk/Source/WTF/ChangeLog 2012-09-15 22:48:31 UTC (rev 128694)
+++ trunk/Source/WTF/ChangeLog 2012-09-15 22:48:42 UTC (rev 128695)
@@ -1,3 +1,15 @@
+2012-09-15 Raphael Kubo da Costa <[email protected]>
+
+ llint: Implement LOCAL_LABEL_STRING for the BSD platforms.
+ https://bugs.webkit.org/show_bug.cgi?id=96870
+
+ Reviewed by Filip Pizlo.
+
+ * wtf/InlineASM.h: Extend the definition of LOCAL_LABEL_STRING
+ currently used for OS(LINUX) to the BSDs, since they also normally
+ use GNU as, and clang/llvm seems to parse that syntax just fine as
+ well.
+
2012-09-14 Alexey Proskuryakov <[email protected]>
Minimize collisions when hashing pairs
Modified: trunk/Source/WTF/wtf/InlineASM.h (128694 => 128695)
--- trunk/Source/WTF/wtf/InlineASM.h 2012-09-15 22:48:31 UTC (rev 128694)
+++ trunk/Source/WTF/wtf/InlineASM.h 2012-09-15 22:48:42 UTC (rev 128695)
@@ -79,7 +79,11 @@
// Don't know about any of the others.
#if PLATFORM(MAC)
#define LOCAL_LABEL_STRING(name) "L" #name
-#elif OS(LINUX)
+#elif OS(LINUX) \
+ || OS(FREEBSD) \
+ || OS(OPENBSD) \
+ || OS(NETBSD)
+ // GNU as-compatible syntax.
#define LOCAL_LABEL_STRING(name) ".L" #name
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes