Title: [197932] releases/WebKitGTK/webkit-2.4/Source/_javascript_Core
Revision
197932
Author
[email protected]
Date
2016-03-10 06:32:57 -0800 (Thu, 10 Mar 2016)

Log Message

Fix the build in Windows.

Reviewed by Alberto Garcia.

* interpreter/JSStack.cpp:
(JSC::commitSize):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.4/Source/_javascript_Core/ChangeLog (197931 => 197932)


--- releases/WebKitGTK/webkit-2.4/Source/_javascript_Core/ChangeLog	2016-03-10 12:26:21 UTC (rev 197931)
+++ releases/WebKitGTK/webkit-2.4/Source/_javascript_Core/ChangeLog	2016-03-10 14:32:57 UTC (rev 197932)
@@ -1,3 +1,12 @@
+2016-03-10  Carlos Garcia Campos  <[email protected]>
+
+        Fix the build in Windows.
+
+        Reviewed by Alberto Garcia.
+
+        * interpreter/JSStack.cpp:
+        (JSC::commitSize):
+
 2014-09-23  Tomas Popela  <[email protected]>
 
         [CLoop] - Fix CLoop on the 32-bit Big-Endians

Modified: releases/WebKitGTK/webkit-2.4/Source/_javascript_Core/interpreter/JSStack.cpp (197931 => 197932)


--- releases/WebKitGTK/webkit-2.4/Source/_javascript_Core/interpreter/JSStack.cpp	2016-03-10 12:26:21 UTC (rev 197931)
+++ releases/WebKitGTK/webkit-2.4/Source/_javascript_Core/interpreter/JSStack.cpp	2016-03-10 14:32:57 UTC (rev 197932)
@@ -31,6 +31,7 @@
 
 #include "ConservativeRoots.h"
 #include "Interpreter.h"
+#include <wtf/PageBlock.h>
 
 namespace JSC {
 
@@ -46,7 +47,7 @@
 {
     static size_t size = 0;
     if (!size)
-        size = std::max(16 * 1024, getpagesize());
+        size = std::max(16 * 1024, static_cast<int>(WTF::pageSize()));
     return size;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to