Changeset 215854 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Apr 26, 2017, 8:38:12 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r215779 r215854 480 480 481 481 if (m_remainingCapacityForFrameCapture) { 482 if (visitor->isWasmFrame()) 483 m_results.append(StackFrame::wasm()); 484 else if (!!visitor->codeBlock() && !visitor->codeBlock()->unlinkedCodeBlock()->isBuiltinFunction()) { 482 if (visitor->isWasmFrame()) { 483 std::optional<unsigned> wasmFunctionIndex = visitor->wasmFunctionIndex(); 484 m_results.append(StackFrame::wasm(wasmFunctionIndex ? *wasmFunctionIndex : StackFrame::invalidWasmIndex)); 485 } else if (!!visitor->codeBlock() && !visitor->codeBlock()->unlinkedCodeBlock()->isBuiltinFunction()) { 485 486 m_results.append( 486 487 StackFrame(m_vm, visitor->callee().asCell(), visitor->codeBlock(), visitor->bytecodeOffset()));
Note:
See TracChangeset
for help on using the changeset viewer.