Changeset 163247 in webkit
- Timestamp:
- Feb 1, 2014 12:29:23 PM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r163241 r163247 1 2014-02-01 Mark Lam <mark.lam@apple.com> 2 3 Saying "jitType() == JITCode::DFGJIT" is almost never correct. 4 <http://webkit.org/b/128045> 5 6 Reviewed by Filip Pizlo. 7 8 JITCode::isOptimizingJIT(jitType()) is the right way to say it. 9 10 * bytecode/CodeBlock.cpp: 11 (JSC::CodeBlock::addBreakpoint): 12 (JSC::CodeBlock::setSteppingMode): 13 * runtime/VM.cpp: 14 (JSC::SetEnabledProfilerFunctor::operator()): 15 1 16 2014-02-01 Michael Saboff <msaboff@apple.com> 2 17 -
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r163241 r163247 3559 3559 m_numBreakpoints += numBreakpoints; 3560 3560 ASSERT(m_numBreakpoints); 3561 if ( jitType() == JITCode::DFGJIT)3561 if (JITCode::isOptimizingJIT(jitType())) 3562 3562 jettison(); 3563 3563 } … … 3566 3566 { 3567 3567 m_steppingMode = mode; 3568 if (mode == SteppingModeEnabled && jitType() == JITCode::DFGJIT)3568 if (mode == SteppingModeEnabled && JITCode::isOptimizingJIT(jitType())) 3569 3569 jettison(); 3570 3570 } -
trunk/Source/JavaScriptCore/runtime/VM.cpp
r163225 r163247 836 836 bool operator()(CodeBlock* codeBlock) 837 837 { 838 if ( codeBlock->jitType() == JITCode::DFGJIT)838 if (JITCode::isOptimizingJIT(codeBlock->jitType())) 839 839 codeBlock->jettison(); 840 840 return false;
Note: See TracChangeset
for help on using the changeset viewer.