aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/DataStructure/DSSupport.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSSupport.h b/include/llvm/Analysis/DataStructure/DSSupport.h
index 52461f8844..8eb67a0343 100644
--- 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