Changeset 60394 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- May 28, 2010, 11:53:16 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Lookup.cpp
r59941 r60394 80 80 NativeFunctionWrapper* function; 81 81 JSGlobalObject* globalObject = asGlobalObject(thisObj->getAnonymousValue(0).asCell()); 82 #if ENABLE(JIT) 82 #if ENABLE(JIT) && ENABLE(JIT_OPTIMIZE_NATIVE_CALL) 83 83 if (entry->generator()) 84 84 function = new (exec) NativeFunctionWrapper(exec, globalObject, globalObject->prototypeFunctionStructure(), entry->functionLength(), propertyName, exec->globalData().getHostFunction(entry->function(), entry->generator())); -
trunk/JavaScriptCore/runtime/Lookup.h
r58286 r60394 77 77 unsigned char attributes() const { return m_attributes; } 78 78 79 #if ENABLE(JIT) 79 #if ENABLE(JIT) && ENABLE(JIT_OPTIMIZE_NATIVE_CALL) 80 80 ThunkGenerator generator() const { ASSERT(m_attributes & Function); return m_u.function.generator; } 81 81 #endif -
trunk/JavaScriptCore/runtime/StringConstructor.cpp
r60392 r60394 57 57 58 58 // ECMA 15.5.3.2 fromCharCode() 59 #if ENABLE(JIT) 59 #if ENABLE(JIT) && ENABLE(JIT_OPTIMIZE_NATIVE_CALL) 60 60 putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, globalObject, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, exec->globalData().getHostFunction(stringFromCharCode, fromCharCodeThunkGenerator)), DontEnum); 61 61 #else
Note:
See TracChangeset
for help on using the changeset viewer.