projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b9480
)
If merging two calls like: foo(A) and bar(B, C), make sure the result has two
author
Chris Lattner
<sabre@nondot.org>
Mon, 21 Mar 2005 09:18:39 +0000
(09:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 21 Mar 2005 09:18:39 +0000
(09:18 +0000)
arguments, not one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20728
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/DataStructure/DSSupport.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/DataStructure/DSSupport.h
b/include/llvm/Analysis/DataStructure/DSSupport.h
index 52461f88448d25c1a9568f36a78846b0a2a57965..8eb67a03434418f28f941f8fb38ead5a58ae0c9c 100644
(file)
--- a/
include/llvm/Analysis/DataStructure/DSSupport.h
+++ b/
include/llvm/Analysis/DataStructure/DSSupport.h
@@
-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