Changeset 47022 in webkit for trunk/JavaScriptCore/runtime/ScopeChainMark.h
- Timestamp:
- Aug 10, 2009, 9:35:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/ScopeChainMark.h
r44224 r47022 1 1 /* 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved.2 * Copyright (C) 2003, 2006, 2008, 2009 Apple Inc. All rights reserved. 3 3 * 4 4 * This library is free software; you can redistribute it and/or … … 26 26 namespace JSC { 27 27 28 inline void ScopeChain::mark () const28 inline void ScopeChain::markAggregate(MarkStack& markStack) const 29 29 { 30 for (ScopeChainNode* n = m_node; n; n = n->next) { 31 JSObject* o = n->object; 32 if (!o->marked()) 33 o->mark(); 34 } 30 for (ScopeChainNode* n = m_node; n; n = n->next) 31 markStack.append(n->object); 35 32 } 36 33
Note:
See TracChangeset
for help on using the changeset viewer.