summaryrefslogtreecommitdiff
path: root/src/pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pass.h')
-rw-r--r--src/pass.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pass.h b/src/pass.h
index 7b42e3719..3cfa585a7 100644
--- a/src/pass.h
+++ b/src/pass.h
@@ -268,10 +268,6 @@ class Pass {
public:
virtual ~Pass() = default;
- // Override this to perform preparation work before the pass runs.
- // This will be called before the pass is run on a module.
- virtual void prepareToRun(PassRunner* runner, Module* module) {}
-
// Implement this with code to run the pass on the whole module
virtual void run(PassRunner* runner, Module* module) {
WASM_UNREACHABLE("unimplemented");