summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Analysis/CallGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Analysis/CallGraph.cpp')
-rw-r--r--mlir/lib/Analysis/CallGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/CallGraph.cpp b/mlir/lib/Analysis/CallGraph.cpp
index c35421d55eb..e88b1201443 100644
--- a/mlir/lib/Analysis/CallGraph.cpp
+++ b/mlir/lib/Analysis/CallGraph.cpp
@@ -179,7 +179,7 @@ CallGraphNode *CallGraph::resolveCallable(CallInterfaceCallable callable,
callee = SymbolTable::lookupNearestSymbolFrom(from,
symbolRef.getRootReference());
else
- callee = callable.get<Value>()->getDefiningOp();
+ callee = callable.get<Value>().getDefiningOp();
// If the callee is non-null and is a valid callable object, try to get the
// called region from it.
OpenPOWER on IntegriCloud