Ignore:
Timestamp:
Aug 29, 2013, 3:54:38 PM (12 years ago)
Author:
[email protected]
Message:

.: Add ENABLE guards for Promises
https://bugs.webkit.org/show_bug.cgi?id=120488

Reviewed by Andreas Kling.

  • Source/autotools/SetupWebKitFeatures.m4:
  • Source/cmake/WebKitFeatures.cmake:
  • Source/cmakeconfig.h.cmake:

Source/JavaScriptCore: Add ENABLE guards for Promises
https://bugs.webkit.org/show_bug.cgi?id=120488

Reviewed by Andreas Kling.

  • Configurations/FeatureDefines.xcconfig:
  • runtime/JSGlobalObject.cpp:
  • runtime/JSGlobalObject.h:
  • runtime/JSPromise.cpp:
  • runtime/JSPromise.h:
  • runtime/JSPromiseCallback.cpp:
  • runtime/JSPromiseCallback.h:
  • runtime/JSPromiseConstructor.cpp:
  • runtime/JSPromiseConstructor.h:
  • runtime/JSPromisePrototype.cpp:
  • runtime/JSPromisePrototype.h:
  • runtime/JSPromiseResolver.cpp:
  • runtime/JSPromiseResolver.h:
  • runtime/JSPromiseResolverConstructor.cpp:
  • runtime/JSPromiseResolverConstructor.h:
  • runtime/JSPromiseResolverPrototype.cpp:
  • runtime/JSPromiseResolverPrototype.h:

Source/WebCore: Add ENABLE guards for Promises
https://bugs.webkit.org/show_bug.cgi?id=120488

Reviewed by Andreas Kling.

  • Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac: Add ENABLE gaurds for Promises
https://bugs.webkit.org/show_bug.cgi?id=120488

Reviewed by Andreas Kling.

  • Configurations/FeatureDefines.xcconfig:

Source/WebKit2: Add ENABLE gaurds for Promises
https://bugs.webkit.org/show_bug.cgi?id=120488

Reviewed by Andreas Kling.

  • Configurations/FeatureDefines.xcconfig:

Source/WTF: Add ENABLE guards for Promises
https://bugs.webkit.org/show_bug.cgi?id=120488

Reviewed by Andreas Kling.

  • wtf/FeatureDefines.h:

Tools: Add ENABLE guards for Promises
https://bugs.webkit.org/show_bug.cgi?id=120488

Reviewed by Andreas Kling.

  • Scripts/webkitperl/FeatureList.pm:
  • qmake/mkspecs/features/features.pri:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h

    r154629 r154847  
    184184    WriteBarrier<Structure> m_stringObjectStructure;
    185185    WriteBarrier<Structure> m_internalFunctionStructure;
     186
     187#if ENABLE(PROMISES)
    186188    WriteBarrier<Structure> m_promiseStructure;
    187189    WriteBarrier<Structure> m_promiseResolverStructure;
    188190    WriteBarrier<Structure> m_promiseCallbackStructure;
    189191    WriteBarrier<Structure> m_promiseWrapperCallbackStructure;
     192#endif // ENABLE(PROMISES)
    190193
    191194    WriteBarrier<JSArrayBufferPrototype> m_arrayBufferPrototype;
     
    382385    Structure* regExpStructure() const { return m_regExpStructure.get(); }
    383386    Structure* stringObjectStructure() const { return m_stringObjectStructure.get(); }
     387
     388#if ENABLE(PROMISES)
    384389    Structure* promiseStructure() const { return m_promiseStructure.get(); }
    385390    Structure* promiseResolverStructure() const { return m_promiseResolverStructure.get(); }
    386391    Structure* promiseCallbackStructure() const { return m_promiseCallbackStructure.get(); }
    387392    Structure* promiseWrapperCallbackStructure() const { return m_promiseWrapperCallbackStructure.get(); }
     393#endif // ENABLE(PROMISES)
    388394
    389395    JSArrayBufferPrototype* arrayBufferPrototype() const { return m_arrayBufferPrototype.get(); }
Note: See TracChangeset for help on using the changeset viewer.