Changeset 34580 in webkit for trunk/JavaScriptCore/kjs/function.cpp
- Timestamp:
- Jun 15, 2008, 8:02:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.cpp
r34578 r34580 58 58 // ----------------------------- JSFunction ---------------------------------- 59 59 60 const ClassInfo JSFunction::info = { "Function", &InternalFunction Imp::info, 0, 0 };60 const ClassInfo JSFunction::info = { "Function", &InternalFunction::info, 0, 0 }; 61 61 62 62 JSFunction::JSFunction(ExecState* exec, const Identifier& name, FunctionBodyNode* b, ScopeChainNode* scopeChain) 63 : InternalFunction Imp(exec->lexicalGlobalObject()->functionPrototype(), name)63 : InternalFunction(exec->lexicalGlobalObject()->functionPrototype(), name) 64 64 , body(b) 65 65 , _scope(scopeChain) … … 69 69 void JSFunction::mark() 70 70 { 71 InternalFunction Imp::mark();71 InternalFunction::mark(); 72 72 body->mark(); 73 73 _scope.mark(); … … 137 137 } 138 138 139 return InternalFunction Imp::getOwnPropertySlot(exec, propertyName, slot);139 return InternalFunction::getOwnPropertySlot(exec, propertyName, slot); 140 140 } 141 141 … … 144 144 if (propertyName == exec->propertyNames().arguments || propertyName == exec->propertyNames().length) 145 145 return; 146 InternalFunction Imp::put(exec, propertyName, value);146 InternalFunction::put(exec, propertyName, value); 147 147 } 148 148 … … 151 151 if (propertyName == exec->propertyNames().arguments || propertyName == exec->propertyNames().length) 152 152 return false; 153 return InternalFunction Imp::deleteProperty(exec, propertyName);153 return InternalFunction::deleteProperty(exec, propertyName); 154 154 } 155 155 … … 714 714 715 715 PrototypeFunction::PrototypeFunction(ExecState* exec, int len, const Identifier& name, JSMemberFunction function) 716 : InternalFunction Imp(exec->lexicalGlobalObject()->functionPrototype(), name)716 : InternalFunction(exec->lexicalGlobalObject()->functionPrototype(), name) 717 717 , m_function(function) 718 718 { … … 722 722 723 723 PrototypeFunction::PrototypeFunction(ExecState* exec, FunctionPrototype* functionPrototype, int len, const Identifier& name, JSMemberFunction function) 724 : InternalFunction Imp(functionPrototype, name)724 : InternalFunction(functionPrototype, name) 725 725 , m_function(function) 726 726 { … … 737 737 738 738 PrototypeReflexiveFunction::PrototypeReflexiveFunction(ExecState* exec, FunctionPrototype* functionPrototype, int len, const Identifier& name, JSMemberFunction function, JSGlobalObject* cachedGlobalObject) 739 : InternalFunction Imp(functionPrototype, name)739 : InternalFunction(functionPrototype, name) 740 740 , m_function(function) 741 741 , m_cachedGlobalObject(cachedGlobalObject) … … 753 753 void PrototypeReflexiveFunction::mark() 754 754 { 755 InternalFunction Imp::mark();755 InternalFunction::mark(); 756 756 if (!m_cachedGlobalObject->marked()) 757 757 m_cachedGlobalObject->mark();
Note:
See TracChangeset
for help on using the changeset viewer.