From 08d4a74d56ca431877819fc4566e27eafe150342 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 24 Jul 2012 17:03:20 +0200 Subject: Imported WebKit commit 0fbd41c4e13f5a190faf160bf993eee614e6e18e (http://svn.webkit.org/repository/webkit/trunk@123477) New snapshot that adapts to latest Qt API changes --- Source/JavaScriptCore/dfg/DFGOperations.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/JavaScriptCore/dfg/DFGOperations.cpp') diff --git a/Source/JavaScriptCore/dfg/DFGOperations.cpp b/Source/JavaScriptCore/dfg/DFGOperations.cpp index 9050d590e..94479d6d0 100644 --- a/Source/JavaScriptCore/dfg/DFGOperations.cpp +++ b/Source/JavaScriptCore/dfg/DFGOperations.cpp @@ -1248,7 +1248,7 @@ char* DFG_OPERATION operationAllocatePropertyStorageWithInitialCapacity(ExecStat void* result; if (!globalData.heap.tryAllocateStorage(initialOutOfLineCapacity * sizeof(JSValue), &result)) CRASH(); - return reinterpret_cast(result); + return reinterpret_cast(reinterpret_cast(result) + initialOutOfLineCapacity + 1); } char* DFG_OPERATION operationAllocatePropertyStorage(ExecState* exec, size_t newSize) @@ -1257,7 +1257,7 @@ char* DFG_OPERATION operationAllocatePropertyStorage(ExecState* exec, size_t new void* result; if (!globalData.heap.tryAllocateStorage(newSize, &result)) CRASH(); - return reinterpret_cast(result); + return reinterpret_cast(reinterpret_cast(result) + 1) + newSize; } double DFG_OPERATION operationFModOnInts(int32_t a, int32_t b) -- cgit v1.2.1