summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-12-05 18:46:10 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-12-05 18:46:10 +0100
commitbe0a6f788ec35c28abbee3f3f910d4a1cce46aca (patch)
treee02373373402a975cf661075610ed3032b2cb968
parent871addbdcb8e346efb86268443b99ec7d03fedf5 (diff)
parenta2da34be8426b41047f895a3e8463d58baf3b576 (diff)
downloadqtscript-be0a6f788ec35c28abbee3f3f910d4a1cce46aca.tar.gz
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I6498ca9158162e2c2b9db6867128ba4ae687f5f9
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
index d2ad679..046b11c 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
@@ -1835,7 +1835,13 @@ RegisterID* BytecodeGenerator::emitNextPropertyName(RegisterID* dst, RegisterID*
RegisterID* BytecodeGenerator::emitCatch(RegisterID* targetRegister, Label* start, Label* end)
{
#if ENABLE(JIT)
- HandlerInfo info = { start->bind(0, 0), end->bind(0, 0), instructions().size(), m_dynamicScopeDepth + m_baseScopeDepth, CodeLocationLabel() };
+ HandlerInfo info = {
+ static_cast<uint32_t>(start->bind(0, 0)),
+ static_cast<uint32_t>(end->bind(0, 0)),
+ static_cast<uint32_t>(instructions().size()),
+ static_cast<uint32_t>(m_dynamicScopeDepth + m_baseScopeDepth),
+ CodeLocationLabel()
+ };
#else
HandlerInfo info = {
static_cast<uint32_t>(start->bind(0, 0)),