diff options
author | Chris Lattner <sabre@nondot.org> | 2002-01-30 23:00:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-01-30 23:00:41 +0000 |
commit | b1244c54a4fc40db5a006bf6cf7e583faed7773e (patch) | |
tree | e5b413192a4e8e3e569dd662f0275dfa99b1fbef | |
parent | b9a827ce6360cda67cac382d29d6b9238e837195 (diff) |
Don't die on call instructions, which reference methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1593 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/InstForest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h index 13eb54fa52..efcbf519f6 100644 --- a/include/llvm/Analysis/InstForest.h +++ b/include/llvm/Analysis/InstForest.h @@ -235,7 +235,7 @@ InstTreeNode<Payload>::InstTreeNode(InstForest<Payload> &IF, Value *V, if (!isa<Instruction>(V)) { assert((isa<Constant>(V) || isa<BasicBlock>(V) || - isa<MethodArgument>(V) || isa<GlobalVariable>(V)) && + isa<MethodArgument>(V) || isa<GlobalValue>(V)) && "Unrecognized value type for InstForest Partition!"); if (isa<Constant>(V)) getTreeData().first.second = ConstNode; |