summaryrefslogtreecommitdiff
path: root/src/passes/DropReturnValues.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/DropReturnValues.cpp')
-rw-r--r--src/passes/DropReturnValues.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/passes/DropReturnValues.cpp b/src/passes/DropReturnValues.cpp
index a146b8a45..8715f3f61 100644
--- a/src/passes/DropReturnValues.cpp
+++ b/src/passes/DropReturnValues.cpp
@@ -75,7 +75,9 @@ struct DropReturnValues : public WalkerPass<PostWalker<DropReturnValues, Visitor
}
};
-static RegisterPass<DropReturnValues> registerPass("drop-return-values", "stops relying on return values from set_local and store");
+Pass *createDropReturnValuesPass() {
+ return new DropReturnValues();
+}
} // namespace wasm