mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-18 08:11:04 +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,
|
GetLocal(_) => InstructionType::Local,
|
||||||
SetLocal(_) => InstructionType::Local,
|
SetLocal(_) => InstructionType::Local,
|
||||||
TeeLocal(_) => InstructionType::Local,
|
TeeLocal(_) => InstructionType::Local,
|
||||||
GetGlobal(_) => InstructionType::Local,
|
GetGlobal(_) => InstructionType::Global,
|
||||||
SetGlobal(_) => InstructionType::Local,
|
SetGlobal(_) => InstructionType::Global,
|
||||||
|
|
||||||
I32Load(_, _) => InstructionType::Load,
|
I32Load(_, _) => InstructionType::Load,
|
||||||
I64Load(_, _) => InstructionType::Load,
|
I64Load(_, _) => InstructionType::Load,
|
||||||
|
|||||||
Reference in New Issue
Block a user