Ignore:
Timestamp:
Nov 28, 2007, 5:12:03 AM (18 years ago)
Author:
[email protected]
Message:

Roll out r28106 and r28108. These introduced a frequent assertion failure on page load and broke all non-Mac builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/property_map.cpp

    r28106 r28110  
    623623}
    624624
    625 void PropertyMap::markChildren(MarkStack& stack) const
    626 {
    627     if (!m_usingTable) {
    628 #if USE_SINGLE_ENTRY
    629         if (m_singleEntryKey)
    630             stack.push(m_u.singleEntryValue);
     625void PropertyMap::mark() const
     626{
     627    if (!m_usingTable) {
     628#if USE_SINGLE_ENTRY
     629        if (m_singleEntryKey) {
     630            JSValue* v = m_u.singleEntryValue;
     631            if (!v->marked())
     632                v->mark();
     633        }
    631634#endif
    632635        return;
     
    634637
    635638    unsigned entryCount = m_u.table->keyCount + m_u.table->deletedSentinelCount;
    636     for (unsigned i = 1; i <= entryCount; i++)
    637         stack.push(m_u.table->entries()[i].value);
     639    for (unsigned i = 1; i <= entryCount; i++) {
     640        JSValue* v = m_u.table->entries()[i].value;
     641        if (!v->marked())
     642            v->mark();
     643    }
    638644}
    639645
Note: See TracChangeset for help on using the changeset viewer.