1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

Revert "LibJS/Bytecode: Bring back the bytecode optimization pipeline"

This reverts commit 5b29974bfa.
This commit is contained in:
Andreas Kling 2024-03-06 08:36:19 +01:00
parent b37d84be58
commit 5b69413c4b
15 changed files with 65 additions and 962 deletions

View file

@ -131,13 +131,10 @@ public:
#undef __BYTECODE_OP
};
[[nodiscard]] bool is_terminator() const;
Type type() const { return m_type; }
size_t length() const { return m_length; }
ByteString to_byte_string(Bytecode::Executable const&) const;
ThrowCompletionOr<void> execute(Bytecode::Interpreter&) const;
void replace_references(BasicBlock const& from, BasicBlock const& to);
static void destroy(Instruction&);
// FIXME: Find a better way to organize this information