Ignore:
Timestamp:
Jun 12, 2014, 4:30:51 PM (11 years ago)
Author:
[email protected]
Message:

Remove some dead / unused code.
<https://webkit.org/b/133828>

Reviewed by Filip Pizlo.

  • builtins/BuiltinExecutables.cpp:

(JSC::BuiltinExecutables::createBuiltinExecutable):

  • bytecode/UnlinkedCodeBlock.cpp:

(JSC::UnlinkedFunctionExecutable::UnlinkedFunctionExecutable):

  • bytecode/UnlinkedCodeBlock.h:

(JSC::UnlinkedFunctionExecutable::create):

  • bytecompiler/BytecodeGenerator.h:

(JSC::BytecodeGenerator::makeFunction):

  • parser/Parser.h:

(JSC::DepthManager::DepthManager): Deleted.
(JSC::DepthManager::~DepthManager): Deleted.

  • runtime/CodeCache.cpp:

(JSC::CodeCache::getFunctionExecutableFromGlobalCode):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp

    r168107 r169920  
    8383}
    8484
    85 UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(VM* vm, Structure* structure, const SourceCode& source, FunctionBodyNode* node, bool isFromGlobalCode, UnlinkedFunctionKind kind)
     85UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(VM* vm, Structure* structure, const SourceCode& source, FunctionBodyNode* node, UnlinkedFunctionKind kind)
    8686    : Base(*vm, structure)
    8787    , m_numCapturedVariables(node->capturedVariableCount())
     
    8989    , m_isInStrictContext(node->isStrictMode())
    9090    , m_hasCapturedVariables(node->hasCapturedVariables())
    91     , m_isFromGlobalCode(isFromGlobalCode)
    9291    , m_isBuiltinFunction(kind == UnlinkedBuiltinFunction)
    9392    , m_name(node->ident())
Note: See TracChangeset for help on using the changeset viewer.