mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-17 14:41:03 +00:00
+1
-1
@@ -62,7 +62,7 @@ impl ::std::str::FromStr for InstructionType {
|
|||||||
"reinterpret" => Ok(InstructionType::Reinterpretation),
|
"reinterpret" => Ok(InstructionType::Reinterpretation),
|
||||||
"unreachable" => Ok(InstructionType::Unreachable),
|
"unreachable" => Ok(InstructionType::Unreachable),
|
||||||
"nop" => Ok(InstructionType::Nop),
|
"nop" => Ok(InstructionType::Nop),
|
||||||
"currrent_mem" => Ok(InstructionType::CurrentMemory),
|
"current_mem" => Ok(InstructionType::CurrentMemory),
|
||||||
"grow_mem" => Ok(InstructionType::GrowMemory),
|
"grow_mem" => Ok(InstructionType::GrowMemory),
|
||||||
_ => Err(UnknownInstruction),
|
_ => Err(UnknownInstruction),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user