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
301 301 typedef ppc_thread_state_t PlatformThreadRegisters; 302 302 #elif CPU(PPC64) 303 303 typedef ppc_thread_state64_t PlatformThreadRegisters; 304 #elif CPU(ARM) 304 #elif CPU(ARM) || CPU(ARM64) 305 305 typedef arm_thread_state_t PlatformThreadRegisters; 306 306 #else 307 307 #error Unknown Architecture … … 333 333 #elif CPU(PPC64) 334 334 unsigned user_count = PPC_THREAD_STATE64_COUNT; 335 335 thread_state_flavor_t flavor = PPC_THREAD_STATE64; 336 #elif CPU(ARM) 336 #elif CPU(ARM) || CPU(ARM64) 337 337 unsigned user_count = ARM_THREAD_STATE_COUNT; 338 338 thread_state_flavor_t flavor = ARM_THREAD_STATE; 339 339 #else … … 396 396 return reinterpret_cast<void*>(regs.__rsp); 397 397 #elif CPU(PPC) || CPU(PPC64) 398 398 return reinterpret_cast<void*>(regs.__r1); 399 #elif CPU(ARM) 399 #elif CPU(ARM) || CPU(ARM64) 400 400 return reinterpret_cast<void*>(regs.__sp); 401 401 #else 402 402 #error Unknown Architecture … … 410 410 return reinterpret_cast<void*>(regs.rsp); 411 411 #elif CPU(PPC) || CPU(PPC64) 412 412 return reinterpret_cast<void*>(regs.r1); 413 #elif CPU(ARM) || CPU(ARM64) 414 return reinterpret_cast<void*>(regs.__sp); 413 415 #else 414 416 #error Unknown Architecture 415 417 #endif