mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
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
This commit is contained in:
parent
afc36a9520
commit
e66f6f15e6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user