Changeset 127810 in webkit for trunk/Source/JavaScriptCore/runtime/JSNameScope.h
- Timestamp:
- Sep 6, 2012, 6:42:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSNameScope.h
r127774 r127810 39 39 static JSNameScope* create(ExecState* exec, const Identifier& identifier, JSValue value, unsigned attributes) 40 40 { 41 JSNameScope* scopeObject = new (NotNull, allocateCell<JSNameScope>(*exec->heap())) JSNameScope(exec); 41 JSNameScope* scopeObject = new (NotNull, allocateCell<JSNameScope>(*exec->heap())) JSNameScope(exec, exec->scope()); 42 scopeObject->finishCreation(exec, identifier, value, attributes); 43 return scopeObject; 44 } 45 46 static JSNameScope* create(ExecState* exec, const Identifier& identifier, JSValue value, unsigned attributes, JSScope* next) 47 { 48 JSNameScope* scopeObject = new (NotNull, allocateCell<JSNameScope>(*exec->heap())) JSNameScope(exec, next); 42 49 scopeObject->finishCreation(exec, identifier, value, attributes); 43 50 return scopeObject; … … 65 72 66 73 private: 67 JSNameScope(ExecState* exec )74 JSNameScope(ExecState* exec, JSScope* next) 68 75 : Base( 69 76 exec->globalData(), 70 77 exec->lexicalGlobalObject()->nameScopeStructure(), 71 78 reinterpret_cast<Register*>(&m_registerStore + 1), 72 exec->scope()79 next 73 80 ) 74 81 {
Note:
See TracChangeset
for help on using the changeset viewer.