Ignore:
Timestamp:
Jan 12, 2016, 9:17:44 AM (9 years ago)
Author:
[email protected]
Message:

[JSC] JSC does not build with FTL_USES_B3 on ARM64
https://bugs.webkit.org/show_bug.cgi?id=153011

Patch by Benjamin Poulain <[email protected]> on 2016-01-12
Reviewed by Saam Barati.

Apparently the static const member can only be used for constexpr.
C++ is weird.

  • jit/GPRInfo.cpp:
  • jit/GPRInfo.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/GPRInfo.cpp

    r194068 r194894  
    3131namespace JSC {
    3232
     33// This is in the .cpp file to work around clang issues.
    3334#if CPU(X86_64)
    34 // This is in the .cpp file to work around clang issues.
    3535const GPRReg GPRInfo::patchpointScratchRegister = MacroAssembler::s_scratchRegister;
     36#elif CPU(ARM64)
     37const GPRReg GPRInfo::patchpointScratchRegister = ARM64Registers::ip0;
    3638#endif
    3739
Note: See TracChangeset for help on using the changeset viewer.