Title: [149825] trunk/Source/_javascript_Core
Revision
149825
Author
[email protected]
Date
2013-05-09 11:24:05 -0700 (Thu, 09 May 2013)

Log Message

[BlackBerry] Set up logging buffer on start of jsc executable
https://bugs.webkit.org/show_bug.cgi?id=114688

Patch by Joe Mason <[email protected]> on 2013-05-09
Reviewed by Rob Buis.

Internal PR: 322715
Internally Reviewed By: Jeff Rogers

* jsc.cpp:
(main): call BB::Platform::setupApplicationLogging

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (149824 => 149825)


--- trunk/Source/_javascript_Core/ChangeLog	2013-05-09 18:13:53 UTC (rev 149824)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-05-09 18:24:05 UTC (rev 149825)
@@ -1,3 +1,16 @@
+2013-05-09  Joe Mason  <[email protected]>
+
+        [BlackBerry] Set up logging buffer on start of jsc executable
+        https://bugs.webkit.org/show_bug.cgi?id=114688
+
+        Reviewed by Rob Buis.
+
+        Internal PR: 322715
+        Internally Reviewed By: Jeff Rogers
+
+        * jsc.cpp:
+        (main): call BB::Platform::setupApplicationLogging
+
 2013-05-08  Michael Saboff  <[email protected]>
 
         JSC: There should be a disassembler for ARM Thumb 2

Modified: trunk/Source/_javascript_Core/jsc.cpp (149824 => 149825)


--- trunk/Source/_javascript_Core/jsc.cpp	2013-05-09 18:13:53 UTC (rev 149824)
+++ trunk/Source/_javascript_Core/jsc.cpp	2013-05-09 18:24:05 UTC (rev 149825)
@@ -86,6 +86,10 @@
 #include <arm/arch.h>
 #endif
 
+#if PLATFORM(BLACKBERRY)
+#include <BlackBerryPlatformLog.h>
+#endif
+
 using namespace JSC;
 using namespace WTF;
 
@@ -524,6 +528,11 @@
     timeBeginPeriod(1);
 #endif
 
+#if PLATFORM(BLACKBERRY)
+    // Write all WTF logs to the system log
+    BlackBerry::Platform::setupApplicationLogging("jsc");
+#endif
+
 #if PLATFORM(QT)
     QCoreApplication app(argc, argv);
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to