Build fix: PageAllocationAligned no longer has executable flag
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 03:03:05 +0000 (03:03 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Mar 2013 03:03:05 +0000 (03:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111659

Patch by Adenilson Cavalcanti <cavalcantii@gmail.com> on 2013-03-06
Reviewed by Kentaro Hara.

Build fix: use false as parameter to execution flag.

* wtf/PageAllocationAligned.cpp:
(WTF::PageAllocationAligned::allocate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@145022 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/PageAllocationAligned.cpp

index 914f963..bc4545e 100644 (file)
@@ -1,3 +1,15 @@
+2013-03-06  Adenilson Cavalcanti  <cavalcantii@gmail.com>
+
+        Build fix: PageAllocationAligned no longer has executable flag
+        https://bugs.webkit.org/show_bug.cgi?id=111659
+
+        Reviewed by Kentaro Hara.
+
+        Build fix: use false as parameter to execution flag.
+
+        * wtf/PageAllocationAligned.cpp:
+        (WTF::PageAllocationAligned::allocate):
+
 2013-03-06  Eric Seidel  <eric@webkit.org>
 
         AtomicStringImpls are not safe to send between threads
index 48523cd..bdb976b 100644 (file)
@@ -52,7 +52,7 @@ PageAllocationAligned PageAllocationAligned::allocate(size_t size, size_t alignm
 
     // Resererve with suffcient additional VM to correctly align.
     size_t reservationSize = size + alignmentDelta;
-    void* reservationBase = OSAllocator::reserveUncommitted(reservationSize, usage, writable, executable);
+    void* reservationBase = OSAllocator::reserveUncommitted(reservationSize, usage, writable, false);
 
     // Select an aligned region within the reservation and commit.
     void* alignedBase = reinterpret_cast<uintptr_t>(reservationBase) & alignmentMask