diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-13 12:51:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | d441d6f39bb846989d95bcf5caf387b42414718d (patch) | |
tree | e367e64a75991c554930278175d403c072de6bb8 /Source/JavaScriptCore/interpreter/JSStack.cpp | |
parent | 0060b2994c07842f4c59de64b5e3e430525c4b90 (diff) | |
download | qtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz |
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit.
Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/interpreter/JSStack.cpp')
-rw-r--r-- | Source/JavaScriptCore/interpreter/JSStack.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/JavaScriptCore/interpreter/JSStack.cpp b/Source/JavaScriptCore/interpreter/JSStack.cpp index f5f9e3763..ec2962a92 100644 --- a/Source/JavaScriptCore/interpreter/JSStack.cpp +++ b/Source/JavaScriptCore/interpreter/JSStack.cpp @@ -43,9 +43,9 @@ static Mutex& stackStatisticsMutex() return staticMutex; } -JSStack::JSStack(JSGlobalData& globalData, size_t capacity) +JSStack::JSStack(VM& vm, size_t capacity) : m_end(0) - , m_topCallFrame(globalData.topCallFrame) + , m_topCallFrame(vm.topCallFrame) { ASSERT(capacity && isPageAligned(capacity)); @@ -135,7 +135,7 @@ void JSStack::enableErrorStackReserve() void JSStack::disableErrorStackReserve() { char* useableEnd = reinterpret_cast<char*>(reservationEnd()) - commitSize; - m_useableEnd = reinterpret_cast<Register*>(useableEnd); + m_useableEnd = reinterpret_cast_ptr<Register*>(useableEnd); // By the time we get here, we are guaranteed to be destructing the last // Interpreter::ErrorHandlingMode that enabled this reserve in the first |