Ignore:
Timestamp:
Jul 24, 2013, 9:01:06 PM (12 years ago)
Author:
[email protected]
Message:

fourthTier: Remove Interpreter::retrieveLastCaller().

This merge is complicated by the trunk js stack reporting logic.

Remove Interpreter::retrieveLastCaller().
https://bugs.webkit.org/show_bug.cgi?id=116753.

Reviewed by Geoffrey Garen.

This is part of the refactoring effort to get rid of functions walking
the JS stack in their own way.

../JavaScriptCore:

  • API/JSContextRef.cpp:

(JSContextCreateBacktrace):

  • interpreter/CallFrame.cpp:
  • interpreter/Interpreter.cpp:

(JSC::Interpreter::Interpreter):
(JSC::Interpreter::getStackTrace):
(JSC::Interpreter::addStackTraceIfNecessary):

  • interpreter/Interpreter.h:

(StackFrame):
(JSC::StackFrame::StackFrame):
(Interpreter):

  • jsc.cpp:

(functionJSCStack):

  • profiler/ProfileGenerator.cpp:

(JSC::ProfileGenerator::addParentForConsoleStart):

../WebCore:

No new tests.

  • bindings/js/JSXMLHttpRequestCustom.cpp:

(WebCore::JSXMLHttpRequest::send):

  • bindings/js/ScriptCallStackFactory.cpp:

(WebCore::createScriptCallStack):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/interpreter/CallFrame.cpp

    r149404 r153183  
    3434
    3535#ifndef NDEBUG
    36 void CallFrame::dumpCaller()
    37 {
    38     int signedLineNumber;
    39     intptr_t sourceID;
    40     String urlString;
    41     JSValue function;
    42    
    43     interpreter()->retrieveLastCaller(this, signedLineNumber, sourceID, urlString, function);
    44     dataLogF("Callpoint => %s:%d\n", urlString.utf8().data(), signedLineNumber);
    45 }
    46 
    4736JSStack* CallFrame::stack()
    4837{
Note: See TracChangeset for help on using the changeset viewer.