mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
LibWasm: Add a instruction_from_name getter
This commit is contained in:
parent
d471405caf
commit
afa3d06ea6
2 changed files with 13 additions and 0 deletions
|
@ -14,6 +14,7 @@ class Reference;
|
|||
class Value;
|
||||
|
||||
String instruction_name(OpCode const& opcode);
|
||||
Optional<OpCode> instruction_from_name(StringView name);
|
||||
|
||||
struct Printer {
|
||||
explicit Printer(OutputStream& stream, size_t initial_indent = 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue