mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-04-28 16:48:01 +00:00
Merge pull request #137 from osolmaz/correct-instruction-type
Corrected InstructionType's for GetGlobal and SetGlobal
This commit is contained in:
+2
-2
@@ -93,8 +93,8 @@ impl InstructionType {
|
||||
GetLocal(_) => InstructionType::Local,
|
||||
SetLocal(_) => InstructionType::Local,
|
||||
TeeLocal(_) => InstructionType::Local,
|
||||
GetGlobal(_) => InstructionType::Local,
|
||||
SetGlobal(_) => InstructionType::Local,
|
||||
GetGlobal(_) => InstructionType::Global,
|
||||
SetGlobal(_) => InstructionType::Global,
|
||||
|
||||
I32Load(_, _) => InstructionType::Load,
|
||||
I64Load(_, _) => InstructionType::Load,
|
||||
|
||||
Reference in New Issue
Block a user