aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/InstForest.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/InstForest.h')
-rw-r--r--include/llvm/Analysis/InstForest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h
index 79b7bca..68f7142 100644
--- a/include/llvm/Analysis/InstForest.h
+++ b/include/llvm/Analysis/InstForest.h
@@ -240,7 +240,7 @@ InstTreeNode<Payload>::InstTreeNode(InstForest<Payload> &IF, Value *V,
if (!isa<Instruction>(V)) {
assert((isa<Constant>(V) || isa<BasicBlock>(V) ||
- isa<FunctionArgument>(V) || isa<GlobalValue>(V)) &&
+ isa<Argument>(V) || isa<GlobalValue>(V)) &&
"Unrecognized value type for InstForest Partition!");
if (isa<Constant>(V))
getTreeData().first.second = ConstNode;