Merge pull request #137 from osolmaz/correct-instruction-type

Corrected InstructionType's for GetGlobal and SetGlobal
This commit is contained in:
Sergei Shulepov
2020-07-27 22:26:16 +02:00
committed by GitHub
+2 -2
View File
@@ -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,