diff options
-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; |