Ticket #62027: patch-qtwebkit-MachineStackMarker.cpp.diff

File patch-qtwebkit-MachineStackMarker.cpp.diff, 1.2 KB (added by jhoyt4, 4 years ago)
  • Source/JavaScriptCore/heap/MachineStackMarker.cpp

     
    301301typedef ppc_thread_state_t PlatformThreadRegisters;
    302302#elif CPU(PPC64)
    303303typedef ppc_thread_state64_t PlatformThreadRegisters;
    304 #elif CPU(ARM)
     304#elif CPU(ARM) || CPU(ARM64)
    305305typedef arm_thread_state_t PlatformThreadRegisters;
    306306#else
    307307#error Unknown Architecture
     
    333333#elif CPU(PPC64)
    334334    unsigned user_count = PPC_THREAD_STATE64_COUNT;
    335335    thread_state_flavor_t flavor = PPC_THREAD_STATE64;
    336 #elif CPU(ARM)
     336#elif CPU(ARM) || CPU(ARM64)
    337337    unsigned user_count = ARM_THREAD_STATE_COUNT;
    338338    thread_state_flavor_t flavor = ARM_THREAD_STATE;
    339339#else
     
    396396    return reinterpret_cast<void*>(regs.__rsp);
    397397#elif CPU(PPC) || CPU(PPC64)
    398398    return reinterpret_cast<void*>(regs.__r1);
    399 #elif CPU(ARM)
     399#elif CPU(ARM) || CPU(ARM64)
    400400    return reinterpret_cast<void*>(regs.__sp);
    401401#else
    402402#error Unknown Architecture
     
    410410    return reinterpret_cast<void*>(regs.rsp);
    411411#elif CPU(PPC) || CPU(PPC64)
    412412    return reinterpret_cast<void*>(regs.r1);
     413#elif CPU(ARM) || CPU(ARM64)
     414    return reinterpret_cast<void*>(regs.__sp);
    413415#else
    414416#error Unknown Architecture
    415417#endif