From 3b39bce54231edb1845b42a1e914029dcb494c94 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 25 Aug 2009 09:59:41 +0200 Subject: Fix valgrind warning (use of uninitialized) in JavaScriptCore Reviewed-by: Kent Hansen --- src/3rdparty/webkit/JavaScriptCore/bytecode/CodeBlock.cpp | 2 ++ 1 file changed, 2 insertions(+) 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, PassRefPtrneedsActivation()) , m_usesEval(ownerNode->usesEval()) + , m_usesArguments(ownerNode->usesArguments()) , m_isNumericCompareFunction(false) , m_codeType(codeType) , m_source(sourceProvider) -- cgit v0.12