Skip to content

Commit

Permalink
[VM] Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
clamp03 committed Mar 31, 2023
1 parent c5e01f4 commit 43d90dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/coreclr/vm/riscv64/asmhelpers.S
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ LEAF_ENTRY HelperMethodFrameRestoreState, _TEXT
RestoreRegMS 9, s9
RestoreRegMS 10, s10
RestoreRegMS 11, s11
RestoreRegMS 12, tp
RestoreRegMS 13, gp
RestoreRegMS 12, gp
RestoreRegMS 13, tp
LOCAL_LABEL(Done):
// Its imperative that the return value of HelperMethodFrameRestoreState is zero
// as it is used in the state machine to loop until it becomes zero.
Expand Down Expand Up @@ -446,8 +446,8 @@ LEAF_ENTRY LazyMachStateCaptureState, _TEXT
sd s9, 72(a1)
sd s10, 80(a1)
sd s11, 88(a1)
sd tp, 96(a1)
sd gp, 104(a1)
sd gp, 96(a1)
sd tp, 104(a1)

ret
LEAF_END LazyMachStateCaptureState, _TEXT
Expand Down

0 comments on commit 43d90dc

Please sign in to comment.