Changeset 12949 in webkit for trunk/JavaScriptCore/kjs/scope_chain.cpp
- Timestamp:
- Feb 23, 2006, 11:52:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/scope_chain.cpp
r12317 r12949 35 35 } 36 36 37 void ScopeChain::release()38 {39 // This function is only called by deref(),40 // Deref ensures these conditions are true.41 assert(_node && _node->refCount == 0);42 ScopeChainNode *n = _node;43 do {44 ScopeChainNode *next = n->next;45 delete n;46 n = next;47 } while (n && --n->refCount == 0);48 }49 50 37 } // namespace KJS
Note:
See TracChangeset
for help on using the changeset viewer.