Changeset 47404 in webkit for trunk/JavaScriptCore/runtime/Arguments.h
- Timestamp:
- Aug 17, 2009, 6:00:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Arguments.h
r47330 r47404 101 101 102 102 void init(CallFrame*); 103 void initializeStandardProperties(CallFrame*);104 103 105 104 OwnPtr<ArgumentsData> d; … … 135 134 , d(new ArgumentsData) 136 135 { 137 initializeStandardProperties(callFrame);138 136 JSFunction* callee; 139 137 ptrdiff_t firstParameterIndex; … … 174 172 { 175 173 ASSERT(!callFrame->callee()->body()->parameterCount()); 176 177 initializeStandardProperties(callFrame); 174 178 175 unsigned numArguments = callFrame->argumentCount() - 1; 179 176 … … 243 240 } 244 241 245 246 inline void Arguments::initializeStandardProperties(CallFrame* callFrame)247 {248 putDirectFunction(callFrame->propertyNames().constructor, callFrame->lexicalGlobalObject()->objectConstructor(), DontEnum);249 putDirectFunction(callFrame->propertyNames().toString, callFrame->lexicalGlobalObject()->objectToStringFunction(), DontEnum);250 putDirectFunction(callFrame->propertyNames().toLocaleString, callFrame->lexicalGlobalObject()->objectToLocaleStringFunction(), DontEnum);251 }252 242 253 243 } // namespace JSC
Note:
See TracChangeset
for help on using the changeset viewer.