Centralise the Ldind logic (#61)

This commit is contained in:
Patrick Stevens
2025-06-21 13:53:23 +01:00
committed by GitHub
parent f9e03f4340
commit c747d6eb3a
14 changed files with 804 additions and 266 deletions

View File

@@ -43,6 +43,7 @@ type NullaryIlOp =
| LdcI4_7
/// Push the int32 value 8 to the eval stack.
| LdcI4_8
/// Push the int32 value -1 to the eval stack.
| LdcI4_m1
/// Push a null object reference onto the stack.
| LdNull
@@ -388,6 +389,7 @@ type UnaryConstIlOp =
| Bgt_un of int32
| Ble_un of int32
| Blt_un of int32
/// Loads the local variable at a specific index onto the evaluation stack.
| Ldloc_s of uint8
| Ldloca_s of uint8
/// Load the address of an argument onto the stack.