diff options
Diffstat (limited to 'src/passes/LocalSubtyping.cpp')
-rw-r--r-- | src/passes/LocalSubtyping.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/LocalSubtyping.cpp b/src/passes/LocalSubtyping.cpp index 0d41434fc..eeaaaaefa 100644 --- a/src/passes/LocalSubtyping.cpp +++ b/src/passes/LocalSubtyping.cpp @@ -60,7 +60,7 @@ struct LocalSubtyping : public WalkerPass<PostWalker<LocalSubtyping>> { // // TODO: Optimize this, as LocalGraph computes more than we need, and on // more locals than we need. - LocalGraph localGraph(func); + LocalGraph localGraph(func, getModule()); // For each local index, compute all the the sets and gets. std::vector<std::vector<LocalSet*>> setsForLocal(numLocals); |