⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243363 in webkit


Ignore:
Timestamp:
Mar 21, 2019, 10:56:02 PM (7 years ago)
Author:
tpopela@redhat.com
Message:

[JSC] Fix build after r243232 on unsupported 64bit architectures
https://bugs.webkit.org/show_bug.cgi?id=196072

Reviewed by Keith Miller.

As Keith suggested we already expect 16 free bits at the top of any
pointer for JSValue even for the unsupported 64 bit arches.

  • bytecode/CodeOrigin.h:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r243344 r243363  
     12019-03-21  Tomas Popela  <tpopela@redhat.com>
     2
     3        [JSC] Fix build after r243232 on unsupported 64bit architectures
     4        https://bugs.webkit.org/show_bug.cgi?id=196072
     5
     6        Reviewed by Keith Miller.
     7
     8        As Keith suggested we already expect 16 free bits at the top of any
     9        pointer for JSValue even for the unsupported 64 bit arches.
     10
     11        * bytecode/CodeOrigin.h:
     12
    1132019-03-21  Mark Lam  <mark.lam@apple.com>
    214
  • trunk/Source/JavaScriptCore/bytecode/CodeOrigin.h

    r243232 r243363  
    233233    }
    234234
    235 #if CPU(X86_64) && CPU(ADDRESS64)
     235#if CPU(ARM64) && CPU(ADDRESS64)
     236    static constexpr unsigned s_freeBitsAtTop = 28;
     237    static constexpr uintptr_t s_maskCompositeValueForPointer = 0x0000000ffffffff8;
     238#elif CPU(ADDRESS64)
    236239    static constexpr unsigned s_freeBitsAtTop = 16;
    237240    static constexpr uintptr_t s_maskCompositeValueForPointer = 0x0000fffffffffff8;
    238 #elif CPU(ARM64) && CPU(ADDRESS64)
    239     static constexpr unsigned s_freeBitsAtTop = 28;
    240     static constexpr uintptr_t s_maskCompositeValueForPointer = 0x0000000ffffffff8;
    241241#endif
    242242#if CPU(ADDRESS64)
Note: See TracChangeset for help on using the changeset viewer.