Title: [99392] trunk/Source/_javascript_Core
Revision
99392
Author
[email protected]
Date
2011-11-06 18:51:21 -0800 (Sun, 06 Nov 2011)

Log Message

REGRESSION(r99374): GTK+ build of the jsc binary doesn't like the call
to initializeMainThread, and crashes
https://bugs.webkit.org/show_bug.cgi?id=71643

Reviewed by Sam Weinig.

* jsc.cpp:
(main):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (99391 => 99392)


--- trunk/Source/_javascript_Core/ChangeLog	2011-11-07 02:34:40 UTC (rev 99391)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-11-07 02:51:21 UTC (rev 99392)
@@ -1,3 +1,14 @@
+2011-11-06  Filip Pizlo  <[email protected]>
+
+        REGRESSION(r99374): GTK+ build of the jsc binary doesn't like the call
+        to initializeMainThread, and crashes
+        https://bugs.webkit.org/show_bug.cgi?id=71643
+
+        Reviewed by Sam Weinig.
+
+        * jsc.cpp:
+        (main):
+
 2011-11-06  Sam Weinig  <[email protected]>
 
         Add space missing from some class declarations

Modified: trunk/Source/_javascript_Core/jsc.cpp (99391 => 99392)


--- trunk/Source/_javascript_Core/jsc.cpp	2011-11-07 02:34:40 UTC (rev 99391)
+++ trunk/Source/_javascript_Core/jsc.cpp	2011-11-07 02:51:21 UTC (rev 99392)
@@ -405,7 +405,9 @@
 #endif
 
     // Initialize JSC before getting JSGlobalData.
+#if ENABLE(SAMPLING_REGIONS)
     WTF::initializeMainThread();
+#endif
     JSC::initializeThreading();
 
     // We can't use destructors in the following code because it uses Windows
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to