Track addresses of arguments (#53)

This commit is contained in:
Patrick Stevens
2025-06-15 21:34:30 +01:00
committed by GitHub
parent 3b1f916743
commit 2c249edfc7
7 changed files with 71 additions and 7 deletions

View File

@@ -389,8 +389,10 @@ type UnaryConstIlOp =
| Blt_un of int32
| Ldloc_s of uint8
| Ldloca_s of uint8
/// Load the address of an argument onto the stack.
| Ldarga of uint16
| Ldarg_s of uint8
/// Load the address of an argument onto the stack.
| Ldarga_s of uint8
/// Unconditionally transfer control to this offset from the next instruction;
/// like Br but can leave a try/filter/catch block too, and ensures surrounding `finally` blocks execute.