Changeset 167396 in webkit for trunk/Source/JavaScriptCore/debugger
- Timestamp:
- Apr 16, 2014, 4:07:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/debugger/Debugger.cpp
r165005 r167396 233 233 void Debugger::setSteppingMode(SteppingMode mode) 234 234 { 235 if (mode == m_steppingMode) 236 return; 235 if (mode == m_steppingMode || !m_vm) 236 return; 237 238 m_vm->waitForCompilationsToComplete(); 239 237 240 m_steppingMode = mode; 238 239 if (!m_vm)240 return;241 241 SetSteppingModeFunctor functor(this, mode); 242 forEachCodeBlock(functor);242 m_vm->heap.forEachCodeBlock(functor); 243 243 } 244 244 245 245 void Debugger::registerCodeBlock(CodeBlock* codeBlock) 246 246 { 247 // FIXME: We should never have to jettison a code block (due to pending breakpoints 248 // or stepping mode) that is being registered. operationOptimize() should have 249 // prevented the optimizing of such code blocks in the first place. Find a way to 250 // express this with greater clarity in the code. See <https://webkit.org/b131771>. 247 251 applyBreakpoints(codeBlock); 248 252 if (isStepping())
Note:
See TracChangeset
for help on using the changeset viewer.