Changeset 35807 in webkit for trunk/JavaScriptCore/kjs/StringConstructor.cpp
- Timestamp:
- Aug 17, 2008, 1:23:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/StringConstructor.cpp
r35411 r35807 45 45 } 46 46 47 ASSERT_CLASS_FITS_IN_CELL(StringConstructor); 48 47 49 StringConstructor::StringConstructor(ExecState* exec, FunctionPrototype* functionPrototype, StringPrototype* stringPrototype) 48 : InternalFunction( functionPrototype, Identifier(exec, stringPrototype->classInfo()->className))50 : InternalFunction(exec, functionPrototype, Identifier(exec, stringPrototype->classInfo()->className)) 49 51 { 50 52 // ECMA 15.5.3.1 String.prototype … … 52 54 53 55 // ECMA 15.5.3.2 fromCharCode() 54 putDirectFunction( new (exec) PrototypeFunction(exec, functionPrototype, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum);56 putDirectFunction(exec, new (exec) PrototypeFunction(exec, functionPrototype, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum); 55 57 56 58 // no. of arguments for constructor
Note:
See TracChangeset
for help on using the changeset viewer.