mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
LibJS+CI: Remove bytecode optimization passes for now
These passes have not been shown to actually optimize any JS, and tests have become very flaky with optimizations enabled. Until some measurable benefit is shown, remove the optimization passes to reduce overhead of maintaining bytecode operations and to reduce CI churn. The framework for optimizations will live on in git history, and can be restored once proven useful.
This commit is contained in:
parent
164c132928
commit
77d7f715e3
17 changed files with 1 additions and 1311 deletions
|
@ -17,7 +17,6 @@
|
|||
namespace JS::Bytecode {
|
||||
|
||||
class InstructionStreamIterator;
|
||||
class PassManager;
|
||||
|
||||
struct CallFrame {
|
||||
void visit_edges(Cell::Visitor& visitor)
|
||||
|
@ -39,7 +38,6 @@ class Interpreter {
|
|||
public:
|
||||
[[nodiscard]] static bool enabled();
|
||||
static void set_enabled(bool);
|
||||
static void set_optimizations_enabled(bool);
|
||||
|
||||
explicit Interpreter(VM&);
|
||||
~Interpreter();
|
||||
|
@ -94,8 +92,6 @@ public:
|
|||
size_t pc() const;
|
||||
DeprecatedString debug_position() const;
|
||||
|
||||
static Bytecode::PassManager& optimization_pipeline();
|
||||
|
||||
VM::InterpreterExecutionScope ast_interpreter_scope(Realm&);
|
||||
|
||||
void visit_edges(Cell::Visitor&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue