Fix a typo when assign 'dst.rbx' at copy_gp_regs

This commit is contained in:
hongwen.chw 2024-07-21 17:02:54 +08:00 committed by Tate, Hongliang Tian
parent 20524ae64a
commit 4dacff5be4

View File

@ -69,7 +69,7 @@ pub struct GpRegs {
macro_rules! copy_gp_regs {
($src: ident, $dst: ident) => {
$dst.rax = $src.rax;
$dst.rbx = $src.rax;
$dst.rbx = $src.rbx;
$dst.rcx = $src.rcx;
$dst.rdx = $src.rdx;
$dst.rsi = $src.rsi;