mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-20 11:32:33 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59569 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6307b9440a
commit
b876cc193c
@ -249,7 +249,7 @@ bool StripDebugInfo(Module &M) {
|
||||
assert(CI->use_empty() && "llvm.dbg intrinsic should have void result");
|
||||
CI->eraseFromParent();
|
||||
if (Arg->use_empty())
|
||||
if (Constant *C = dyn_cast<GlobalVariable>(Arg))
|
||||
if (Constant *C = dyn_cast<Constant>(Arg))
|
||||
DeadConstants.push_back(C);
|
||||
}
|
||||
Declare->eraseFromParent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user