summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Bytecode/PassManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Bytecode/PassManager.h')
-rw-r--r--Userland/Libraries/LibJS/Bytecode/PassManager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/PassManager.h b/Userland/Libraries/LibJS/Bytecode/PassManager.h
index b4a44da5c5..c2f457fec5 100644
--- a/Userland/Libraries/LibJS/Bytecode/PassManager.h
+++ b/Userland/Libraries/LibJS/Bytecode/PassManager.h
@@ -136,6 +136,15 @@ private:
FILE* m_file { nullptr };
};
+class EliminateLoads : public Pass {
+public:
+ EliminateLoads() = default;
+ virtual ~EliminateLoads() override = default;
+
+private:
+ virtual void perform(PassPipelineExecutable&) override;
+};
+
}
}