Changeset 226725 in webkit for trunk/Source/JavaScriptCore/debugger
- Timestamp:
- Jan 10, 2018, 11:41:12 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/debugger/Debugger.cpp
r226667 r226725 208 208 } 209 209 210 voidoperator()(CodeBlock* codeBlock) const210 bool operator()(CodeBlock* codeBlock) const 211 211 { 212 212 if (m_debugger == codeBlock->globalObject()->debugger()) { … … 216 216 codeBlock->setSteppingMode(CodeBlock::SteppingModeDisabled); 217 217 } 218 return false; 218 219 } 219 220 … … 315 316 } 316 317 317 voidoperator()(CodeBlock* codeBlock) const318 bool operator()(CodeBlock* codeBlock) const 318 319 { 319 320 if (m_debugger == codeBlock->globalObject()->debugger()) 320 321 m_debugger->toggleBreakpoint(codeBlock, m_breakpoint, m_enabledOrNot); 322 return false; 321 323 } 322 324 … … 527 529 } 528 530 529 voidoperator()(CodeBlock* codeBlock) const531 bool operator()(CodeBlock* codeBlock) const 530 532 { 531 533 if (codeBlock->hasDebuggerRequests() && m_debugger == codeBlock->globalObject()->debugger()) 532 534 codeBlock->clearDebuggerRequests(); 535 return false; 533 536 } 534 537 … … 556 559 } 557 560 558 voidoperator()(CodeBlock* codeBlock) const561 bool operator()(CodeBlock* codeBlock) const 559 562 { 560 563 if (codeBlock->hasDebuggerRequests() && m_globalObject == codeBlock->globalObject()) 561 564 codeBlock->clearDebuggerRequests(); 565 return false; 562 566 } 563 567
Note:
See TracChangeset
for help on using the changeset viewer.