Title: [106204] trunk/Source/_javascript_Core
Revision
106204
Author
[email protected]
Date
2012-01-29 17:41:09 -0800 (Sun, 29 Jan 2012)

Log Message

Build fix for Mac non-x64 platforms.

* tools/CodeProfiling.cpp:
(JSC):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (106203 => 106204)


--- trunk/Source/_javascript_Core/ChangeLog	2012-01-29 23:59:44 UTC (rev 106203)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-01-30 01:41:09 UTC (rev 106204)
@@ -1,3 +1,10 @@
+2012-01-29  Filip Pizlo  <[email protected]>
+
+        Build fix for Mac non-x64 platforms.
+
+        * tools/CodeProfiling.cpp:
+        (JSC):
+
 2012-01-28  Gavin Barraclough  <[email protected]>
 
         Reserve 'let'

Modified: trunk/Source/_javascript_Core/tools/CodeProfiling.cpp (106203 => 106204)


--- trunk/Source/_javascript_Core/tools/CodeProfiling.cpp	2012-01-29 23:59:44 UTC (rev 106203)
+++ trunk/Source/_javascript_Core/tools/CodeProfiling.cpp	2012-01-30 01:41:09 UTC (rev 106204)
@@ -36,6 +36,11 @@
 CodeProfiling::Mode CodeProfiling::s_mode = CodeProfiling::Disabled;
 WTF::MetaAllocatorTracker* CodeProfiling::s_tracker = 0;
 
+#if COMPILER(CLANG)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wmissing-noreturn"
+#endif
+
 // Helper function to start & stop the timer.
 // Presently we're using the wall-clock timer, since this seems to give the best results.
 static void setProfileTimer(unsigned usec)
@@ -54,6 +59,10 @@
 #endif
 }
 
+#if COMPILER(CLANG)
+#pragma clang diagnostic pop
+#endif
+
 #if PLATFORM(MAC) && CPU(X86_64)
 static void profilingTimer(int, siginfo_t*, void* uap)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to