summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-08-25 07:59:41 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-08-25 09:06:30 (GMT)
commit3b39bce54231edb1845b42a1e914029dcb494c94 (patch)
tree6519bd3c673788b265bf2160fd59e13286d2a5e1 /src/3rdparty/webkit/JavaScriptCore
parent8cee5b06aa0ecde7ba0a53c8a46070af3691db1b (diff)
downloadQt-3b39bce54231edb1845b42a1e914029dcb494c94.zip
Qt-3b39bce54231edb1845b42a1e914029dcb494c94.tar.gz
Qt-3b39bce54231edb1845b42a1e914029dcb494c94.tar.bz2
Fix valgrind warning (use of uninitialized) in JavaScriptCore
Reviewed-by: Kent Hansen
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/bytecode/CodeBlock.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/bytecode/CodeBlock.cpp b/src/3rdparty/webkit/JavaScriptCore/bytecode/CodeBlock.cpp
index 4b943c2..596d89a 100644
--- a/src/3rdparty/webkit/JavaScriptCore/bytecode/CodeBlock.cpp
+++ b/src/3rdparty/webkit/JavaScriptCore/bytecode/CodeBlock.cpp
@@ -1261,6 +1261,7 @@ CodeBlock::CodeBlock(ScopeNode* ownerNode)
#endif
, m_needsFullScopeChain(false)
, m_usesEval(false)
+ , m_usesArguments(false)
, m_isNumericCompareFunction(false)
, m_codeType(NativeCode)
, m_source(0)
@@ -1283,6 +1284,7 @@ CodeBlock::CodeBlock(ScopeNode* ownerNode, CodeType codeType, PassRefPtr<SourceP
#endif
, m_needsFullScopeChain(ownerNode->needsActivation())
, m_usesEval(ownerNode->usesEval())
+ , m_usesArguments(ownerNode->usesArguments())
, m_isNumericCompareFunction(false)
, m_codeType(codeType)
, m_source(sourceProvider)