Changeset 147858 in webkit for trunk/Source/JavaScriptCore/ChangeLog
- Timestamp:
- Apr 6, 2013, 3:47:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r147857 r147858 1 2013-04-06 Oliver Hunt <[email protected]> 2 3 Unify the many and varied stack trace mechanisms, and make the result sane. 4 https://bugs.webkit.org/show_bug.cgi?id=114072 5 6 Reviewed by Filip Pizlo. 7 8 Makes JSC::StackFrame record the bytecode offset and other necessary data 9 rather than requiring us to perform eager evaluation of the line number, etc. 10 Then remove most of the users of retrieveLastCaller, as most of them were 11 using it to create a stack trace in a fairly incomplete and inefficient way. 12 13 StackFrame now also has a couple of helpers to get the line and column info. 14 15 * API/JSContextRef.cpp: 16 (JSContextCreateBacktrace): 17 * bytecompiler/BytecodeGenerator.cpp: 18 (JSC::BytecodeGenerator::emitDebugHook): 19 * interpreter/Interpreter.cpp: 20 (JSC): 21 (JSC::Interpreter::dumpRegisters): 22 (JSC::Interpreter::unwindCallFrame): 23 (JSC::getBytecodeOffsetForCallFrame): 24 (JSC::getCallerInfo): 25 (JSC::StackFrame::line): 26 (JSC::StackFrame::column): 27 (JSC::StackFrame::expressionInfo): 28 (JSC::StackFrame::toString): 29 (JSC::Interpreter::getStackTrace): 30 (JSC::Interpreter::addStackTraceIfNecessary): 31 (JSC::Interpreter::retrieveCallerFromVMCode): 32 * interpreter/Interpreter.h: 33 (StackFrame): 34 (Interpreter): 35 * runtime/Error.cpp: 36 (JSC::throwError): 37 * runtime/JSGlobalData.h: 38 (JSC): 39 (JSGlobalData): 40 * runtime/JSGlobalObject.cpp: 41 (JSC::DynamicGlobalObjectScope::DynamicGlobalObjectScope): 42 1 43 2013-04-06 Geoffrey Garen <[email protected]> 2 44
Note:
See TracChangeset
for help on using the changeset viewer.