Changeset 58317 in webkit for trunk/JavaScriptCore/runtime/StringConstructor.cpp
- Timestamp:
- Apr 27, 2010, 11:17:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/StringConstructor.cpp
r53320 r58317 55 55 56 56 // ECMA 15.5.3.2 fromCharCode() 57 #if ENABLE(JIT) 58 putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, exec->globalData().getThunk(fromCharCodeThunkGenerator), stringFromCharCode), DontEnum); 59 #else 57 60 putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum); 58 61 #endif 59 62 // no. of arguments for constructor 60 63 putDirectWithoutTransition(exec->propertyNames().length, jsNumber(exec, 1), ReadOnly | DontEnum | DontDelete);
Note:
See TracChangeset
for help on using the changeset viewer.