Changeset 29542 in webkit for trunk/JavaScriptCore/kjs/ExecState.cpp
- Timestamp:
- Jan 16, 2008, 3:16:53 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ExecState.cpp
r29474 r29542 126 126 void ExecState::mark() 127 127 { 128 for (ExecState* exec = this; exec; exec = exec->m_callingExec) 128 for (ExecState* exec = this; exec; exec = exec->m_callingExec) { 129 129 exec->m_scopeChain.mark(); 130 130 131 // FIXME: It is surprising that this code is necessary, since at first 132 // glance it seems that all ActivationImps should be in a ScopeChain. 133 // However, <http://bugs.webkit.org/show_bug.cgi?id=16871> proves that is 134 // not the case. 135 if (m_activation && m_activation->isOnStack()) 136 m_activation->markChildren(); 131 if (exec->m_savedExec != exec->m_callingExec && exec->m_savedExec) 132 exec->m_savedExec->mark(); 133 } 137 134 } 138 135
Note:
See TracChangeset
for help on using the changeset viewer.