The second argument to RecursivelyDeleteTriviallyDeadInstructions has
authorDan Gohman <gohman@apple.com>
Sat, 2 May 2009 20:22:10 +0000 (20:22 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 2 May 2009 20:22:10 +0000 (20:22 +0000)
a default value, and will hopefully be going away soon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70642 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/StripSymbols.cpp

index 77579d7bfa083afee76e4070e3b510bc4413aa04..ab8fe5f125e8eef22e6de09cc01a0a47c92806d4 100644 (file)
@@ -291,7 +291,7 @@ bool StripDebugInfo(Module &M) {
         if (Constant *C = dyn_cast<Constant>(Arg1)) 
           DeadConstants.push_back(C);
         else 
-          RecursivelyDeleteTriviallyDeadInstructions(Arg1, NULL);
+          RecursivelyDeleteTriviallyDeadInstructions(Arg1);
       }
       if (Arg2->use_empty())
         if (Constant *C = dyn_cast<Constant>(Arg2)) 
@@ -381,7 +381,7 @@ bool StripDebugDeclare::runOnModule(Module &M) {
         if (Constant *C = dyn_cast<Constant>(Arg1)) 
           DeadConstants.push_back(C);
         else 
-          RecursivelyDeleteTriviallyDeadInstructions(Arg1, NULL);
+          RecursivelyDeleteTriviallyDeadInstructions(Arg1);
       }
       if (Arg2->use_empty())
         if (Constant *C = dyn_cast<Constant>(Arg2))