Changeset 42922 in webkit for trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
- Timestamp:
- Apr 28, 2009, 12:10:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r42575 r42922 1588 1588 { 1589 1589 // Reclaim free label scopes. 1590 while (m_labelScopes.size() && !m_labelScopes.last().refCount()) 1590 // 1591 // The condition was previously coded as 'm_labelScopes.size() && !m_labelScopes.last().refCount()', 1592 // however sometimes this appears to lead to GCC going a little haywire and entering the loop with 1593 // size 0, leading to segfaulty badness. We are yet to identify a valid cause within our code to 1594 // cause the GCC codegen to misbehave in this fashion, and as such the following refactoring of the 1595 // loop condition is a workaround. 1596 while (m_labelScopes.size()) { 1597 if (m_labelScopes.last().refCount()) 1598 break; 1591 1599 m_labelScopes.removeLast(); 1600 } 1592 1601 1593 1602 if (!m_labelScopes.size())
Note:
See TracChangeset
for help on using the changeset viewer.