Blame SOURCES/webkitgtk-2.0.4-ppc64_align.patch

972552
diff -up webkitgtk-2.0.4/Source/JavaScriptCore/heap/CopiedBlock.h.ppc64_align webkitgtk-2.0.4/Source/JavaScriptCore/heap/CopiedBlock.h
972552
--- webkitgtk-2.0.4/Source/JavaScriptCore/heap/CopiedBlock.h.ppc64_align	2014-05-07 11:13:48.249690429 +0200
972552
+++ webkitgtk-2.0.4/Source/JavaScriptCore/heap/CopiedBlock.h	2014-05-07 11:14:02.442872375 +0200
972552
@@ -77,7 +77,7 @@ public:
972552
     size_t size();
972552
     size_t capacity();
972552
 
972552
-    static const size_t blockSize = 32 * KB;
972552
+    static const size_t blockSize = 64 * KB;
972552
 
972552
     bool hasWorkList();
972552
     CopyWorkList& workList();
972552
diff -up webkitgtk-2.0.4/Source/JavaScriptCore/interpreter/JSStack.cpp.ppc64_align webkitgtk-2.0.4/Source/JavaScriptCore/interpreter/JSStack.cpp
972552
--- webkitgtk-2.0.4/Source/JavaScriptCore/interpreter/JSStack.cpp.ppc64_align	2014-05-07 11:14:17.785069040 +0200
972552
+++ webkitgtk-2.0.4/Source/JavaScriptCore/interpreter/JSStack.cpp	2014-05-07 11:15:15.610810268 +0200
972552
@@ -49,7 +49,8 @@ JSStack::JSStack(JSGlobalData& globalDat
972552
 {
972552
     ASSERT(capacity && isPageAligned(capacity));
972552
 
972552
-    m_reservation = PageReservation::reserve(roundUpAllocationSize(capacity * sizeof(Register), commitSize), OSAllocator::JSVMStackPages);
972552
+    size_t commitsize = pageSize();
972552
+    m_reservation = PageReservation::reserve(roundUpAllocationSize(capacity * sizeof(Register), commitsize), OSAllocator::JSVMStackPages);
972552
     m_end = static_cast<Register*>(m_reservation.base());
972552
     m_commitEnd = static_cast<Register*>(m_reservation.base());
972552
 
972552
@@ -78,7 +79,8 @@ bool JSStack::growSlowCase(Register* new
972552
     // Compute the chunk size of additional memory to commit, and see if we
972552
     // have it is still within our budget. If not, we'll fail to grow and
972552
     // return false.
972552
-    long delta = roundUpAllocationSize(reinterpret_cast<char*>(newEnd) - reinterpret_cast<char*>(m_commitEnd), commitSize);
972552
+    size_t commitsize = pageSize();
972552
+    long delta = roundUpAllocationSize(reinterpret_cast<char*>(newEnd) - reinterpret_cast<char*>(m_commitEnd), commitsize);
972552
     if (reinterpret_cast<char*>(m_commitEnd) + delta > reinterpret_cast<char*>(m_useableEnd))
972552
         return false;
972552
 
972552
@@ -134,7 +136,8 @@ void JSStack::enableErrorStackReserve()
972552
 
972552
 void JSStack::disableErrorStackReserve()
972552
 {
972552
-    char* useableEnd = reinterpret_cast<char*>(reservationEnd()) - commitSize;
972552
+    size_t commitsize = pageSize();
972552
+    char* useableEnd = reinterpret_cast<char*>(reservationEnd()) - commitsize;
972552
     m_useableEnd = reinterpret_cast<Register*>(useableEnd);
972552
 
972552
     // By the time we get here, we are guaranteed to be destructing the last