Ignore:
Timestamp:
Nov 17, 2010, 12:05:39 AM (15 years ago)
Author:
[email protected]
Message:

2010-11-17 Sheriff Bot <[email protected]>

Unreviewed, rolling out r72160.
http://trac.webkit.org/changeset/72160
https://bugs.webkit.org/show_bug.cgi?id=49646

Broke lots of fast/profiler tests, among others (Requested by
aroben on #webkit).

  • bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump): (JSC::CodeBlock::functionRegisterForBytecodeOffset): (JSC::CodeBlock::shrinkToFit):
  • bytecode/CodeBlock.h: (JSC::CodeBlock::addFunctionRegisterInfo):
  • bytecode/Opcode.h:
  • bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator): (JSC::BytecodeGenerator::emitCall): (JSC::BytecodeGenerator::emitCallVarargs): (JSC::BytecodeGenerator::emitReturn): (JSC::BytecodeGenerator::emitConstruct):
  • bytecompiler/BytecodeGenerator.h: (JSC::CallArguments::profileHookRegister):
  • bytecompiler/NodesCodegen.cpp: (JSC::CallArguments::CallArguments):
  • interpreter/Interpreter.cpp: (JSC::Interpreter::unwindCallFrame): (JSC::Interpreter::throwException): (JSC::Interpreter::execute): (JSC::Interpreter::executeCall): (JSC::Interpreter::executeConstruct): (JSC::Interpreter::privateExecute):
  • jit/JIT.cpp: (JSC::JIT::privateCompileMainPass):
  • jit/JIT.h:
  • jit/JITOpcodes.cpp: (JSC::JIT::emit_op_profile_will_call): (JSC::JIT::emit_op_profile_did_call):
  • jit/JITOpcodes32_64.cpp: (JSC::JIT::emit_op_profile_will_call): (JSC::JIT::emit_op_profile_did_call):
  • jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION):
  • jit/JITStubs.h:
  • profiler/Profile.cpp: (JSC::Profile::Profile):
  • profiler/ProfileGenerator.cpp: (JSC::ProfileGenerator::addParentForConsoleStart): (JSC::ProfileGenerator::willExecute): (JSC::ProfileGenerator::didExecute): (JSC::ProfileGenerator::stopProfiling):
  • profiler/ProfileGenerator.h:
  • profiler/ProfileNode.cpp: (JSC::ProfileNode::ProfileNode): (JSC::ProfileNode::willExecute):
  • profiler/ProfileNode.h: (JSC::ProfileNode::create): (JSC::ProfileNode::operator==):
  • profiler/Profiler.cpp: (JSC::dispatchFunctionToProfiles): (JSC::Profiler::willExecute): (JSC::Profiler::didExecute):
  • profiler/Profiler.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/profiler/ProfileNode.cpp

    r72160 r72176  
    5757}
    5858
    59 ProfileNode::ProfileNode(ExecState* exec, const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode)
    60     : m_exec(exec)
    61     , m_callIdentifier(callIdentifier)
     59ProfileNode::ProfileNode(const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode)
     60    : m_callIdentifier(callIdentifier)
    6261    , m_head(headNode)
    6362    , m_parent(parentNode)
     
    7473}
    7574
    76 ProfileNode::ProfileNode(ExecState* exec, ProfileNode* headNode, ProfileNode* nodeToCopy)
    77     : m_exec(exec)
    78     , m_callIdentifier(nodeToCopy->callIdentifier())
     75ProfileNode::ProfileNode(ProfileNode* headNode, ProfileNode* nodeToCopy)
     76    : m_callIdentifier(nodeToCopy->callIdentifier())
    7977    , m_head(headNode)
    8078    , m_parent(nodeToCopy->parent())
     
    9088}
    9189
    92 ProfileNode* ProfileNode::willExecute(ExecState* exec, const CallIdentifier& callIdentifier)
     90ProfileNode* ProfileNode::willExecute(const CallIdentifier& callIdentifier)
    9391{
    9492    for (StackIterator currentChild = m_children.begin(); currentChild != m_children.end(); ++currentChild) {
     
    9997    }
    10098
    101     RefPtr<ProfileNode> newChild = ProfileNode::create(exec, callIdentifier, m_head ? m_head : this, this); // If this ProfileNode has no head it is the head.
     99    RefPtr<ProfileNode> newChild = ProfileNode::create(callIdentifier, m_head ? m_head : this, this); // If this ProfileNode has no head it is the head.
    102100    if (m_children.size())
    103101        m_children.last()->setNextSibling(newChild.get());
Note: See TracChangeset for help on using the changeset viewer.