diff options
Diffstat (limited to 'src/passes/ReorderFunctions.cpp')
-rw-r--r-- | src/passes/ReorderFunctions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/ReorderFunctions.cpp b/src/passes/ReorderFunctions.cpp index 326893951..7d2e7fb53 100644 --- a/src/passes/ReorderFunctions.cpp +++ b/src/passes/ReorderFunctions.cpp @@ -40,6 +40,8 @@ typedef std::unordered_map<Name, std::atomic<Index>> NameCountMap; struct CallCountScanner : public WalkerPass<PostWalker<CallCountScanner>> { bool isFunctionParallel() override { return true; } + bool modifiesBinaryenIR() override { return false; } + CallCountScanner(NameCountMap* counts) : counts(counts) {} CallCountScanner* create() override { return new CallCountScanner(counts); } |