summaryrefslogtreecommitdiff
path: root/source/opt/redundancy_elimination.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/opt/redundancy_elimination.cpp')
-rw-r--r--source/opt/redundancy_elimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/opt/redundancy_elimination.cpp b/source/opt/redundancy_elimination.cpp
index 4b184a69..294b84d5 100644
--- a/source/opt/redundancy_elimination.cpp
+++ b/source/opt/redundancy_elimination.cpp
@@ -26,7 +26,7 @@ Pass::Status RedundancyEliminationPass::Process() {
for (auto& func : *get_module()) {
// Build the dominator tree for this function. It is how the code is
// traversed.
- opt::DominatorTree& dom_tree =
+ DominatorTree& dom_tree =
context()->GetDominatorAnalysis(&func)->GetDomTree();
// Keeps track of all ids that contain a given value number. We keep