Skip to content

Commit

Permalink
fix docs: mimic call uses r15, not r3
Browse files Browse the repository at this point in the history
  • Loading branch information
sayon committed Nov 17, 2023
1 parent e1ecab1 commit 33bdd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sem/Farcall.v
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ Definition regs_effect regs (is_system is_ctor:bool) ptr :=
+ Mimic call sets:
* `this_address` <- destination address;
* `msg_sender` <- value of `r3`;
* `msg_sender` <- value of `r15`;
* `context` <- value of context register [%gs_context_u128].
*)
Definition CALL_IMPLICIT_PARAMETER_REG := R15.
Expand Down

0 comments on commit 33bdd36

Please sign in to comment.