summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Analysis/DataStructure/Local.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp
index 783f87d9744..51f8d885f48 100644
--- a/llvm/lib/Analysis/DataStructure/Local.cpp
+++ b/llvm/lib/Analysis/DataStructure/Local.cpp
@@ -988,15 +988,6 @@ void GraphBuilder::visitCallSite(CallSite CS) {
N->mergeTypeInfo(Type::DoubleTy, H.getOffset());
}
return;
- } else if (F->getName() == "qsort") {
- CallSite::arg_iterator AI = CS.arg_begin();
- if (DSNode *N = getValueDest(**AI).getNode())
- N->setModifiedMarker();
- //How do you mark a function pointer as being called? Assume it is a read
- AI += 3;
- if (DSNode *N = getValueDest(**AI).getNode())
- N->setReadMarker();
- return;
} else if (F->getName() == "strcat" || F->getName() == "strncat") {
//This might be making unsafe assumptions about usage
//Merge return and first arg
OpenPOWER on IntegriCloud