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:
6e6b180
)
metadata can't be a global var initializer.
author
Chris Lattner
<sabre@nondot.org>
Thu, 31 Dec 2009 02:15:45 +0000
(
02:15
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 31 Dec 2009 02:15:45 +0000
(
02:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92330
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index db73f14c746bb38ba216df4a43dc2579ea13294e..c2ba8a758e2b075c7da81a01c331f27e80232ff6 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-605,10
+605,6
@@
void SlotTracker::processModule() {
E = TheModule->global_end(); I != E; ++I) {
if (!I->hasName())
CreateModuleSlot(I);
- if (I->hasInitializer()) {
- if (MDNode *N = dyn_cast<MDNode>(I->getInitializer()))
- CreateMetadataSlot(N);
- }
}
// Add metadata used by named metadata.