Changeset 37747 in webkit for trunk/JavaScriptCore/kjs/StringConstructor.cpp
- Timestamp:
- Oct 20, 2008, 2:27:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/StringConstructor.cpp
r37684 r37747 51 51 { 52 52 // ECMA 15.5.3.1 String.prototype 53 putDirect (exec->propertyNames().prototype, stringPrototype, ReadOnly | DontEnum | DontDelete);53 putDirectWithoutTransition(exec->propertyNames().prototype, stringPrototype, ReadOnly | DontEnum | DontDelete); 54 54 55 55 // ECMA 15.5.3.2 fromCharCode() 56 putDirectFunction (exec, new (exec) PrototypeFunction(exec, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum);56 putDirectFunctionWithoutTransition(exec, new (exec) PrototypeFunction(exec, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum); 57 57 58 58 // no. of arguments for constructor 59 putDirect (exec->propertyNames().length, jsNumber(exec, 1), ReadOnly | DontEnum | DontDelete);59 putDirectWithoutTransition(exec->propertyNames().length, jsNumber(exec, 1), ReadOnly | DontEnum | DontDelete); 60 60 } 61 61
Note:
See TracChangeset
for help on using the changeset viewer.