Changeset 60394 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
May 28, 2010, 11:53:16 PM (15 years ago)
Author:
[email protected]
Message:

Qt build fix: disable a little more stuff when JIT_OPTIMIZE_NATIVE_CALL
is disabled.

  • runtime/Lookup.cpp:

(JSC::setUpStaticFunctionSlot):

  • runtime/Lookup.h:
  • wtf/Platform.h:
Location:
trunk/JavaScriptCore/runtime
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/Lookup.cpp

    r59941 r60394  
    8080        NativeFunctionWrapper* function;
    8181        JSGlobalObject* globalObject = asGlobalObject(thisObj->getAnonymousValue(0).asCell());
    82 #if ENABLE(JIT)
     82#if ENABLE(JIT) && ENABLE(JIT_OPTIMIZE_NATIVE_CALL)
    8383        if (entry->generator())
    8484            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  
    7777        unsigned char attributes() const { return m_attributes; }
    7878
    79 #if ENABLE(JIT)
     79#if ENABLE(JIT) && ENABLE(JIT_OPTIMIZE_NATIVE_CALL)
    8080        ThunkGenerator generator() const { ASSERT(m_attributes & Function); return m_u.function.generator; }
    8181#endif
  • trunk/JavaScriptCore/runtime/StringConstructor.cpp

    r60392 r60394  
    5757
    5858    // ECMA 15.5.3.2 fromCharCode()
    59 #if ENABLE(JIT)
     59#if ENABLE(JIT) && ENABLE(JIT_OPTIMIZE_NATIVE_CALL)
    6060    putDirectFunctionWithoutTransition(exec, new (exec) NativeFunctionWrapper(exec, globalObject, prototypeFunctionStructure, 1, exec->propertyNames().fromCharCode, exec->globalData().getHostFunction(stringFromCharCode, fromCharCodeThunkGenerator)), DontEnum);
    6161#else
Note: See TracChangeset for help on using the changeset viewer.