Title: [160018] trunk/Source/ThirdParty/ANGLE
Revision
160018
Author
[email protected]
Date
2013-12-03 11:31:21 -0800 (Tue, 03 Dec 2013)

Log Message

ANGLE fails to build with trunk clang: unused constant kTraceBufferLen
https://bugs.webkit.org/show_bug.cgi?id=125164
https://code.google.com/p/angleproject/issues/detail?id=534

Reviewed by Darin Adler.

Move the definition of the constant kTraceBufferLen under the macro
guard TRACE_ENABLED since it's only referenced in code guarded by
TRACE_ENABLED.

* src/compiler/debug.cpp:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (160017 => 160018)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2013-12-03 19:26:56 UTC (rev 160017)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2013-12-03 19:31:21 UTC (rev 160018)
@@ -1,3 +1,17 @@
+2013-12-03  Daniel Bates  <[email protected]>
+
+        ANGLE fails to build with trunk clang: unused constant kTraceBufferLen
+        https://bugs.webkit.org/show_bug.cgi?id=125164
+        https://code.google.com/p/angleproject/issues/detail?id=534
+
+        Reviewed by Darin Adler.
+
+        Move the definition of the constant kTraceBufferLen under the macro
+        guard TRACE_ENABLED since it's only referenced in code guarded by
+        TRACE_ENABLED.
+
+        * src/compiler/debug.cpp:
+
 2013-11-21  Alex Christensen  <[email protected]>
 
         Remove ANGLEGenerated from Windows build.

Modified: trunk/Source/ThirdParty/ANGLE/src/compiler/debug.cpp (160017 => 160018)


--- trunk/Source/ThirdParty/ANGLE/src/compiler/debug.cpp	2013-12-03 19:26:56 UTC (rev 160017)
+++ trunk/Source/ThirdParty/ANGLE/src/compiler/debug.cpp	2013-12-03 19:31:21 UTC (rev 160018)
@@ -14,9 +14,9 @@
 #include "compiler/InitializeParseContext.h"
 #include "compiler/ParseContext.h"
 
+#ifdef TRACE_ENABLED
 static const int kTraceBufferLen = 1024;
 
-#ifdef TRACE_ENABLED
 extern "C" {
 void Trace(const char *format, ...) {
     if (!format) return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to