Changeset 29065 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Jan 1, 2008, 11:13:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r28884 r29065 593 593 } 594 594 595 inline void ScopeChain::release()596 {597 // This function is only called by deref(),598 // Deref ensures these conditions are true.599 ASSERT(_node && _node->refCount == 0);600 ScopeChainNode *n = _node;601 do {602 ScopeChainNode *next = n->next;603 delete n;604 n = next;605 } while (n && --n->refCount == 0);606 }607 608 595 inline JSValue* JSObject::toPrimitive(ExecState* exec, JSType preferredType) const 609 596 {
Note:
See TracChangeset
for help on using the changeset viewer.