1
Fork 0
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:
Ali Mohammad Pur 2021-12-04 18:00:30 +03:30 committed by Ali Mohammad Pur
parent d471405caf
commit afa3d06ea6
2 changed files with 13 additions and 0 deletions

View file

@ -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)