Corrected InstructionType's for GetGlobal and SetGlobal

This commit is contained in:
Onur Solmaz
2020-07-27 13:56:53 +02:00
parent e89abb0c17
commit 1e8953a9cb
+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,