projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6307b94
)
Fix typo.
author
Devang Patel
<dpatel@apple.com>
Wed, 19 Nov 2008 00:19:18 +0000
(
00:19
+0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 19 Nov 2008 00:19:18 +0000
(
00:19
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59569
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/StripSymbols.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/StripSymbols.cpp
b/lib/Transforms/IPO/StripSymbols.cpp
index c5101c95b82645180b7657146042600bd605519c..1ab8308cb3ff8576041f6f70f1ce386f78c1489f 100644
(file)
--- a/
lib/Transforms/IPO/StripSymbols.cpp
+++ b/
lib/Transforms/IPO/StripSymbols.cpp
@@
-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();