Changeset 261544 in webkit


Ignore:
Timestamp:
May 11, 2020 8:52:22 PM (4 years ago)
Author:
yoshiaki.jitsukawa@sony.com
Message:

Fix build errors after r260992
https://bugs.webkit.org/show_bug.cgi?id=211756

Reviewed by Darin Adler.

Add JSC namespace specifier to NonIntrinsic and PropertyAttribute
in the macros in JSObject.h since those can be used outside of
or without introducing JSC namespace.

  • runtime/JSObject.h:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r261542 r261544  
     12020-05-11  Yoshiaki JITSUKAWA  <yoshiaki.jitsukawa@sony.com>
     2
     3        Fix build errors after r260992
     4        https://bugs.webkit.org/show_bug.cgi?id=211756
     5
     6        Reviewed by Darin Adler.
     7
     8        Add JSC namespace specifier to NonIntrinsic and PropertyAttribute
     9        in the macros in JSObject.h since those can be used outside of
     10        or without introducing JSC namespace.
     11        * runtime/JSObject.h:
     12
    1132020-05-11  Ross Kirsling  <ross.kirsling@sony.com>
    214
  • trunk/Source/JavaScriptCore/runtime/JSObject.h

    r261464 r261544  
    16251625// intrinsic.
    16261626#define JSC_NATIVE_FUNCTION(jsName, cppName, attributes, length) \
    1627     JSC_NATIVE_INTRINSIC_FUNCTION(jsName, cppName, (attributes), (length), NoIntrinsic)
     1627    JSC_NATIVE_INTRINSIC_FUNCTION(jsName, cppName, (attributes), (length), JSC::NoIntrinsic)
    16281628
    16291629#define JSC_NATIVE_FUNCTION_WITHOUT_TRANSITION(jsName, cppName, attributes, length) \
    1630     JSC_NATIVE_INTRINSIC_FUNCTION_WITHOUT_TRANSITION(jsName, cppName, (attributes), (length), NoIntrinsic)
     1630    JSC_NATIVE_INTRINSIC_FUNCTION_WITHOUT_TRANSITION(jsName, cppName, (attributes), (length), JSC::NoIntrinsic)
    16311631
    16321632// Identical helpers but for builtins. Note that currently, we don't support builtins that are
     
    16421642#define JSC_TO_STRING_TAG_WITHOUT_TRANSITION() \
    16431643    putDirectWithoutTransition(vm, vm.propertyNames->toStringTagSymbol, \
    1644         jsNontrivialString(vm, info()->className), PropertyAttribute::DontEnum | PropertyAttribute::ReadOnly)
     1644        jsNontrivialString(vm, info()->className), JSC::PropertyAttribute::DontEnum | JSC::PropertyAttribute::ReadOnly)
    16451645
    16461646// Helper for defining native getters on properties.
     
    16481648    putDirectNativeIntrinsicGetter(\
    16491649        vm, globalObject, makeIdentifier(vm, (jsName)), (cppName), \
    1650         (intrinsic), ((attributes) | PropertyAttribute::Accessor))
     1650        (intrinsic), ((attributes) | JSC::PropertyAttribute::Accessor))
    16511651
    16521652#define JSC_NATIVE_INTRINSIC_GETTER_WITHOUT_TRANSITION(jsName, cppName, attributes, intrinsic)  \
    16531653    putDirectNativeIntrinsicGetterWithoutTransition(\
    16541654        vm, globalObject, makeIdentifier(vm, (jsName)), (cppName), \
    1655         (intrinsic), ((attributes) | PropertyAttribute::Accessor))
     1655        (intrinsic), ((attributes) | JSC::PropertyAttribute::Accessor))
    16561656
    16571657#define JSC_NATIVE_GETTER(jsName, cppName, attributes) \
    1658     JSC_NATIVE_INTRINSIC_GETTER((jsName), (cppName), (attributes), NoIntrinsic)
     1658    JSC_NATIVE_INTRINSIC_GETTER((jsName), (cppName), (attributes), JSC::NoIntrinsic)
    16591659
    16601660#define JSC_NATIVE_GETTER_WITHOUT_TRANSITION(jsName, cppName, attributes) \
    1661     JSC_NATIVE_INTRINSIC_GETTER_WITHOUT_TRANSITION((jsName), (cppName), (attributes), NoIntrinsic)
     1661    JSC_NATIVE_INTRINSIC_GETTER_WITHOUT_TRANSITION((jsName), (cppName), (attributes), JSC::NoIntrinsic)
    16621662
    16631663
Note: See TracChangeset for help on using the changeset viewer.