mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:18:12 +00:00
LibJS: Add a way to replace references to registers in Bytecode
This commit is contained in:
parent
f5e7fa4d0e
commit
fd6e75fd01
3 changed files with 115 additions and 0 deletions
|
@ -109,6 +109,7 @@ public:
|
|||
String to_string(Bytecode::Executable const&) const;
|
||||
ThrowCompletionOr<void> execute(Bytecode::Interpreter&) const;
|
||||
void replace_references(BasicBlock const&, BasicBlock const&);
|
||||
void replace_references(Register, Register);
|
||||
static void destroy(Instruction&);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue