diff options
Diffstat (limited to 'src/passes/DataFlowOpts.cpp')
-rw-r--r-- | src/passes/DataFlowOpts.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/DataFlowOpts.cpp b/src/passes/DataFlowOpts.cpp index 702b3e7f4..42f01673f 100644 --- a/src/passes/DataFlowOpts.cpp +++ b/src/passes/DataFlowOpts.cpp @@ -27,6 +27,7 @@ #include "wasm.h" #include "pass.h" #include "wasm-builder.h" +#include "ir/flat.h" #include "ir/utils.h" #include "dataflow/node.h" #include "dataflow/graph.h" @@ -48,6 +49,7 @@ struct DataFlowOpts : public WalkerPass<PostWalker<DataFlowOpts>> { DataFlow::Graph graph; void doWalkFunction(Function* func) { + Flat::verifyFlatness(func); // Build the data-flow IR. graph.build(func, getModule()); nodeUsers.build(graph); |