forked from OSchip/llvm-project
If merging two calls like: foo(A) and bar(B, C), make sure the result has two
arguments, not one. llvm-svn: 20728
This commit is contained in:
parent
7269f15e8f
commit
5204115d09
|
@ -292,6 +292,9 @@ public:
|
|||
|
||||
for (unsigned a = 0; a != MinArgs; ++a)
|
||||
getPtrArg(a).mergeWith(CS.getPtrArg(a));
|
||||
|
||||
for (unsigned a = MinArgs, e = CS.getNumPtrArgs(); a != e; ++a)
|
||||
CallArgs.push_back(CS.getPtrArg(a));
|
||||
}
|
||||
|
||||
/// markReachableNodes - This method recursively traverses the specified
|
||||
|
|
Loading…
Reference in New Issue