remove qsort for now
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 15 Mar 2006 18:32:18 +0000 (18:32 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 15 Mar 2006 18:32:18 +0000 (18:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26779 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/Local.cpp

index 783f87d9744db7b7704a6374f65df1a669a36c0e..51f8d885f48754592cfe16b715b19fd7ab5a44a7 100644 (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