summaryrefslogtreecommitdiff
path: root/src/ir/hashed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/hashed.h')
-rw-r--r--src/ir/hashed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir/hashed.h b/src/ir/hashed.h
index b1fd659bc..060fea453 100644
--- a/src/ir/hashed.h
+++ b/src/ir/hashed.h
@@ -29,6 +29,8 @@ namespace wasm {
struct FunctionHasher : public WalkerPass<PostWalker<FunctionHasher>> {
bool isFunctionParallel() override { return true; }
+ bool modifiesBinaryenIR() override { return false; }
+
struct Map : public std::map<Function*, size_t> {};
FunctionHasher(Map* output, ExpressionAnalyzer::ExprHasher customHasher)