Changeset 29068 in webkit for trunk/JavaScriptCore/kjs/scope_chain.cpp
- Timestamp:
- Jan 1, 2008, 11:47:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/scope_chain.cpp
r29065 r29068 28 28 namespace KJS { 29 29 30 void ScopeChain::push(const ScopeChain &c) 31 { 32 ScopeChainNode **tail = &_node; 33 for (ScopeChainNode *n = c._node; n; n = n->next) { 34 ScopeChainNode *newNode = new ScopeChainNode(*tail, n->object); 35 *tail = newNode; 36 tail = &newNode->next; 37 } 38 } 39 30 40 #ifndef NDEBUG 31 41
Note:
See TracChangeset
for help on using the changeset viewer.