projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let's ignore MDStrings also!
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
AsmPrinter
/
MipsAsmPrinter.cpp
diff --git
a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
index f3dc7efcc11a69b2f5268883cdc776a412813b8c..431630b146543439ed66f05b616da69e159291cd 100644
(file)
--- a/
lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
+++ b/
lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
@@
-484,7
+484,7
@@
printModuleLevelGV(const GlobalVariable* GVar) {
O << "\n\n";
std::string name = Mang->getValueName(GVar);
Constant *C = GVar->getInitializer();
- if (isa<MDNode>(C))
+ if (isa<MDNode>(C)
|| isa<MDString>(C)
)
return;
const Type *CTy = C->getType();
unsigned Size = TD->getTypeAllocSize(CTy);