mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
If merging two calls like: foo(A) and bar(B, C), make sure the result has two
arguments, not one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c2b94805fb
commit
9e3c5a2bde
@ -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
Block a user