Changeset 440 for trunk/JavaScriptCore/kjs/StringConstructor.cpp
- Timestamp:
- 08/18/08 11:14:49 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/kjs/StringConstructor.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/kjs/StringConstructor.cpp
r424 r440 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
