Skip to content

Commit 734488d

Browse files
committed
Tweak s390x resumption block
1 parent cf737a8 commit 734488d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/wasmtime/src/runtime/vm/sys/unix/signals.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,6 @@ unsafe fn store_handler_in_ucontext(cx: *mut libc::c_void, handler: &Handler) {
354354
let cx = unsafe { cx.cast::<libc::ucontext_t>().as_mut().unwrap() };
355355
cx.uc_mcontext.psw.addr = handler.pc as _;
356356
cx.uc_mcontext.gregs[15] = handler.sp as _;
357-
unsafe {
358-
*(cx.uc_mcontext.gregs[15] as *mut usize) = handler.fp;
359-
}
360357
cx.uc_mcontext.gregs[6] = 0;
361358
cx.uc_mcontext.gregs[7] = 0;
362359
} else if #[cfg(all(target_vendor = "apple", target_arch = "x86_64"))] {

0 commit comments

Comments
 (0)