Changeset 43096 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- Apr 30, 2009, 2:38:01 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/interpreter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/CallFrame.cpp
r42989 r43096 28 28 29 29 #include "CodeBlock.h" 30 #include "Interpreter.h" 30 31 31 32 namespace JSC { … … 36 37 } 37 38 39 #ifndef NDEBUG 40 void CallFrame::dumpCaller() 41 { 42 int signedLineNumber; 43 intptr_t sourceID; 44 UString urlString; 45 JSValuePtr function; 46 47 interpreter()->retrieveLastCaller(this, signedLineNumber, sourceID, urlString, function); 48 printf("Callpoint => %s:%d\n", urlString.ascii(), signedLineNumber); 38 49 } 50 #endif 51 52 } -
trunk/JavaScriptCore/interpreter/CallFrame.h
r43037 r43096 84 84 Interpreter* interpreter() { return globalData().interpreter; } 85 85 Heap* heap() { return &globalData().heap; } 86 86 #ifndef NDEBUG 87 void dumpCaller(); 88 #endif 87 89 static const HashTable* arrayTable(CallFrame* callFrame) { return callFrame->globalData().arrayTable; } 88 90 static const HashTable* dateTable(CallFrame* callFrame) { return callFrame->globalData().dateTable; }
Note:
See TracChangeset
for help on using the changeset viewer.