Changeset 173244 in webkit for trunk/Source/JavaScriptCore/bytecode/CallEdgeProfile.cpp
- Timestamp:
- Sep 3, 2014, 5:28:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CallEdgeProfile.cpp
r173214 r173244 96 96 return false; 97 97 98 if (!!m_primaryCallee && !JSC::worthDespecifying(m_primaryCallee)) 99 return false; 98 bool didSeeEntry = false; 99 100 if (!!m_primaryCallee) { 101 didSeeEntry = true; 102 if (!JSC::worthDespecifying(m_primaryCallee)) 103 return false; 104 } 100 105 101 106 if (m_otherCallees) { 102 107 for (unsigned i = m_otherCallees->m_processed.size(); i--;) { 108 didSeeEntry = true; 103 109 if (!JSC::worthDespecifying(m_otherCallees->m_processed[i].callee())) 104 110 return false; … … 106 112 } 107 113 108 return true;114 return didSeeEntry; 109 115 } 110 116 … … 132 138 133 139 Vector<CallSpectrum::KeyAndCount> list = newSpectrum.buildList(); 134 ASSERT(list.size());140 RELEASE_ASSERT(list.size()); 135 141 m_primaryCallee = list.last().key; 136 142 m_numCallsToPrimary = list.last().count; … … 208 214 ConcurrentJITLocker locker(m_lock); 209 215 210 ASSERT(m_otherCallees);211 ASSERT(m_otherCallees->m_temporarySpectrum);216 RELEASE_ASSERT(m_otherCallees); 217 RELEASE_ASSERT(m_otherCallees->m_temporarySpectrum); 212 218 213 219 if (!!m_primaryCallee)
Note:
See TracChangeset
for help on using the changeset viewer.