Changeset 12949 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Feb 23, 2006, 11:52:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r12911 r12949 682 682 } 683 683 684 inline void ScopeChain::release() 685 { 686 // This function is only called by deref(), 687 // Deref ensures these conditions are true. 688 assert(_node && _node->refCount == 0); 689 ScopeChainNode *n = _node; 690 do { 691 ScopeChainNode *next = n->next; 692 delete n; 693 n = next; 694 } while (n && --n->refCount == 0); 695 } 696 697 inline JSValue* JSObject::toPrimitive(ExecState* exec, JSType preferredType) const 698 { 699 return defaultValue(exec, preferredType); 700 } 701 684 702 } // namespace 685 703
Note:
See TracChangeset
for help on using the changeset viewer.