aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/InstForest.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-09 19:59:31 +0000
committerChris Lattner <sabre@nondot.org>2002-04-09 19:59:31 +0000
commite06e9146eeb48e3ebf0f30bdaf7d86a6e03946ad (patch)
tree88c367a169fcecba357d0eef998e9b7e7cabd4b0 /include/llvm/Analysis/InstForest.h
parent73e214244f2403b5ba0ef81b8839600f3c8ffebc (diff)
downloadexternal_llvm-e06e9146eeb48e3ebf0f30bdaf7d86a6e03946ad.zip
external_llvm-e06e9146eeb48e3ebf0f30bdaf7d86a6e03946ad.tar.gz
external_llvm-e06e9146eeb48e3ebf0f30bdaf7d86a6e03946ad.tar.bz2
Move FunctionArgument out of iOther.h into Argument.h and rename class to
be 'Argument' instead of FunctionArgument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2217 91177308-0d34-0410-b5e6-96231b3b80d8
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;