mirror of
https://github.com/facebookexperimental/reverie.git
synced 2025-01-23 05:06:23 +00:00
Fix warnings
Reviewed By: andronat Differential Revision: D35603562 fbshipit-source-id: 20496da3ca212ed867ecdf374990f93c996f6417
This commit is contained in:
parent
e5f89a81e9
commit
3a31b92d6c
1 changed files with 2 additions and 2 deletions
|
@ -193,10 +193,10 @@ async fn raise_sigwinch<T: Guest<LocalState>>(guest: &mut T) -> Tgkill {
|
|||
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
|
||||
#[cfg(not(feature = "llvm_asm"))]
|
||||
unsafe fn syscall_no_branches(no: libc::c_long, arg1: libc::c_long) {
|
||||
let mut ret: u64;
|
||||
let mut _ret: u64;
|
||||
core::arch::asm!(
|
||||
"syscall",
|
||||
lateout("rax") ret,
|
||||
lateout("rax") _ret,
|
||||
in("rax") no,
|
||||
in("rdi") arg1,
|
||||
out("rcx") _, // rcx is used to store old rip
|
||||
|
|
Loading…
Reference in a new issue