Correct a typo in x86_64.rs

This commit is contained in:
Felix Yan 2023-03-21 05:47:41 +08:00 committed by Gary Guo
parent 02b5c86f89
commit 3dba9da864

View File

@ -121,7 +121,7 @@ pub unsafe extern "C" fn restore_context(ctx: &Context) -> ! {
mov r14, [rdi + 0x70] mov r14, [rdi + 0x70]
mov r15, [rdi + 0x78] mov r15, [rdi + 0x78]
/* RDI resotred last */ /* RDI restored last */
mov rdi, [rdi + 0x28] mov rdi, [rdi + 0x28]
ret ret