[llvm-commits] [llvm] r59569 - /llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp
Devang Patel
dpatel at apple.com
Tue Nov 18 16:19:18 PST 2008
Author: dpatel
Date: Tue Nov 18 18:19:18 2008
New Revision: 59569
URL: http://llvm.org/viewvc/llvm-project?rev=59569&view=rev
Log:
Fix typo.
Modified:
llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp
Modified: llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp?rev=59569&r1=59568&r2=59569&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/StripSymbols.cpp Tue Nov 18 18:19:18 2008
@@ -249,7 +249,7 @@
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();
More information about the llvm-commits
mailing list