Ignore:
Timestamp:
Apr 30, 2009, 2:38:01 PM (16 years ago)
Author:
[email protected]
Message:

Add function to CallFrame for dumping the current JS caller

Reviewed by Gavin Barraclough.

Added debug only method CallFrame::dumpCaller() that provide the call location
of the deepest currently executing JS function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/CallFrame.h

    r43037 r43096  
    8484        Interpreter* interpreter() { return globalData().interpreter; }
    8585        Heap* heap() { return &globalData().heap; }
    86 
     86#ifndef NDEBUG
     87        void dumpCaller();
     88#endif
    8789        static const HashTable* arrayTable(CallFrame* callFrame) { return callFrame->globalData().arrayTable; }
    8890        static const HashTable* dateTable(CallFrame* callFrame) { return callFrame->globalData().dateTable; }
Note: See TracChangeset for help on using the changeset viewer.