mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 03:47:20 +00:00
Don't die on call instructions, which reference methods
llvm-svn: 1593
This commit is contained in:
parent
f2a14b8161
commit
ae0661dc6c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user