diff options
| author | Henry <mail@henrygressmann.de> | 2026-04-25 23:17:41 +0200 |
|---|---|---|
| committer | Henry <mail@henrygressmann.de> | 2026-04-25 23:17:41 +0200 |
| commit | cee820e5545c1fb9b423b915cf688414069cc960 (patch) | |
| tree | a00120e86f81ef69e6ba2fd87897720ed5e978ec /crates/types | |
| parent | 165b19813067140e3f594740affda804dbdb0564 (diff) | |
chore: add specialized returns, optimize parser
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/types')
| -rw-r--r-- | crates/types/src/instructions.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/types/src/instructions.rs b/crates/types/src/instructions.rs index 4c76046..124e90e 100644 --- a/crates/types/src/instructions.rs +++ b/crates/types/src/instructions.rs @@ -184,6 +184,10 @@ pub enum Instruction { DropKeep128(u16, u16), BranchTable(u32, u32, u32), // (default_landing_pad_ip, branch_table_start, target_count) Return, + ReturnVoid, + Return32, + Return64, + Return128, Call(FuncAddr), CallSelf, CallIndirect(TypeAddr, TableAddr), |
