From e66f6f15e6afe3d437ccdca93f2209b3d4158486 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sat, 2 May 2009 20:22:10 +0000 Subject: [PATCH] The second argument to RecursivelyDeleteTriviallyDeadInstructions has 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/IPO/StripSymbols.cpp b/lib/Transforms/IPO/StripSymbols.cpp index 77579d7bfa0..ab8fe5f125e 100644 --- a/lib/Transforms/IPO/StripSymbols.cpp +++ b/lib/Transforms/IPO/StripSymbols.cpp @@ -291,7 +291,7 @@ bool StripDebugInfo(Module &M) { if (Constant *C = dyn_cast(Arg1)) DeadConstants.push_back(C); else - RecursivelyDeleteTriviallyDeadInstructions(Arg1, NULL); + RecursivelyDeleteTriviallyDeadInstructions(Arg1); } if (Arg2->use_empty()) if (Constant *C = dyn_cast(Arg2)) @@ -381,7 +381,7 @@ bool StripDebugDeclare::runOnModule(Module &M) { if (Constant *C = dyn_cast(Arg1)) DeadConstants.push_back(C); else - RecursivelyDeleteTriviallyDeadInstructions(Arg1, NULL); + RecursivelyDeleteTriviallyDeadInstructions(Arg1); } if (Arg2->use_empty()) if (Constant *C = dyn_cast(Arg2)) -- 2.34.1