remove qsort for now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2006-03-15 18:32:18 +00:00
parent 513d19b6a1
commit 3299cae135

View File

@ -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