summaryrefslogblamecommitdiff
path: root/user/qt5-qtwebkit/ppc-ucontext.patch
blob: e1b9bdfda938886e26aa6e60367919709d487430 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                                
diff -ur a/Source/JavaScriptCore/heap/MachineStackMarker.cpp b/Source/JavaScriptCore/heap/MachineStackMarker.cpp
--- a/Source/JavaScriptCore/heap/MachineStackMarker.cpp	2022-12-13 14:54:53.144583311 -0600
+++ b/Source/JavaScriptCore/heap/MachineStackMarker.cpp	2022-12-13 14:55:16.829078581 -0600
@@ -86,11 +86,7 @@
     }
 
     ucontext_t* userContext = static_cast<ucontext_t*>(ucontext);
-#if CPU(PPC)
-    thread->suspendedMachineContext = *userContext->uc_mcontext.uc_regs;
-#else
     thread->suspendedMachineContext = userContext->uc_mcontext;
-#endif
 
     // Allow suspend caller to see that this thread is suspended.
     // sem_post is async-signal-safe function. It means that we can call this from a signal handler.