summaryrefslogtreecommitdiff
path: root/crates/types/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/types/src')
-rw-r--r--crates/types/src/instructions.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/types/src/instructions.rs b/crates/types/src/instructions.rs
index fc6fba2..96e8810 100644
--- a/crates/types/src/instructions.rs
+++ b/crates/types/src/instructions.rs
@@ -91,7 +91,7 @@ pub enum Instruction {
// LocalGet + I32Const + I32Store => I32LocalGetConstStore + I32Const
// Also common, helps us skip the stack entirely.
// Has to be followed by an I32Const instruction
- I32StoreLocal { local: LocalAddr, consti32: i32, offset: u32, mem_addr: u8 },
+ I32StoreLocal { local: LocalAddr, const_i32: i32, offset: u32, mem_addr: u8 },
// I64Xor + I64Const + I64RotL
// Commonly used by a few crypto libraries
@@ -103,12 +103,6 @@ pub enum Instruction {
LocalGet3(LocalAddr, LocalAddr, LocalAddr),
LocalGetSet(LocalAddr, LocalAddr),
- // Not implemented yet
- // I32AddConst(i32),
- // I32SubConst(i32),
- // I64AddConst(i64),
- // I64SubConst(i64),
-
// Control Instructions
// See <https://webassembly.github.io/spec/core/binary/instructions.html#control-instructions>
Unreachable,