Changeset 59637 in webkit for trunk/JavaScriptCore/runtime/StringConstructor.cpp
- Timestamp:
- May 17, 2010, 7:39:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/StringConstructor.cpp
r58317 r59637 22 22 #include "StringConstructor.h" 23 23 24 #include "Executable.h" 25 #include "JITCode.h" 24 26 #include "JSFunction.h" 25 27 #include "JSGlobalObject.h" … … 56 58 // ECMA 15.5.3.2 fromCharCode() 57 59 #if ENABLE(JIT) 58 putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, exec->globalData().get Thunk(fromCharCodeThunkGenerator), stringFromCharCode), DontEnum);60 putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, exec->globalData().getNativeExecutable(stringFromCharCode, fromCharCodeThunkGenerator)), DontEnum); 59 61 #else 60 62 putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum);
Note:
See TracChangeset
for help on using the changeset viewer.