Changeset 57054 in webkit for trunk/JavaScriptCore/bytecode


Ignore:
Timestamp:
Apr 3, 2010, 6:17:12 PM (15 years ago)
Author:
[email protected]
Message:

2010-04-03 Balazs Kelemen <[email protected]>

Reviewed by Oliver Hunt.

Fix uninitalised members in CallLinkInfo and BytecodeGenerator.

https://bugs.webkit.org/show_bug.cgi?id=36816

  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::CodeBlock):
  • bytecode/CodeBlock.h: (JSC::CallLinkInfo::CallLinkInfo):
Location:
trunk/JavaScriptCore/bytecode
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bytecode/CodeBlock.cpp

    r56560 r57054  
    13221322    , m_needsFullScopeChain(ownerExecutable->needsActivation())
    13231323    , m_usesEval(ownerExecutable->usesEval())
     1324    , m_usesArguments(false)
    13241325    , m_isNumericCompareFunction(false)
    13251326    , m_codeType(codeType)
  • trunk/JavaScriptCore/bytecode/CodeBlock.h

    r54798 r57054  
    103103        CallLinkInfo()
    104104            : callee(0)
    105         {
    106         }
    107    
     105            , position(0)
     106            , hasSeenShouldRepatch(0)
     107        {
     108        }
     109
    108110        unsigned bytecodeIndex;
    109111        CodeLocationNearCall callReturnLocation;
Note: See TracChangeset for help on using the changeset viewer.