Changeset 252216 in webkit
- Timestamp:
- Nov 7, 2019 4:37:52 PM (4 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r252202 r252216 1 2019-11-07 Tadeu Zagallo <tzagallo@apple.com> 2 3 [WebAssembly] Inspector's DebuggerCallFrame should be aware of Wasm frames 4 https://bugs.webkit.org/show_bug.cgi?id=203925 5 6 Reviewed by Mark Lam. 7 8 The DebuggerCallFrame checks for CallFrame::codeBlock to determine if it the current frame is a 9 valid JS frame, but since the Wasm interpreter stores the Wasm::FunctionCodeBlock to this slot, 10 that check is not sufficient. Add an extra check for CalleeBits::isWasm. 11 12 * debugger/DebuggerCallFrame.cpp: 13 (JSC::DebuggerCallFrame::sourceIDForCallFrame): 14 1 15 2019-11-07 Devin Rousso <drousso@apple.com> 2 16 -
trunk/Source/JavaScriptCore/debugger/DebuggerCallFrame.cpp
r251529 r252216 321 321 return noSourceID; 322 322 CodeBlock* codeBlock = callFrame->codeBlock(); 323 if (!codeBlock )323 if (!codeBlock || callFrame->callee().isWasm()) 324 324 return noSourceID; 325 325 return codeBlock->ownerExecutable()->sourceID();
Note: See TracChangeset
for help on using the changeset viewer.