mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
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:
parent
513d19b6a1
commit
3299cae135
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user