[llvm-commits] CVS: llvm/lib/Target/CBackend/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 10 10:53:37 PST 2005
Changes in directory llvm/lib/Target/CBackend:
Writer.cpp updated: 1.247 -> 1.248
---
Log message:
Call this method with the object we have
---
Diffs of the changes: (+2 -2)
Writer.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.247 llvm/lib/Target/CBackend/Writer.cpp:1.248
--- llvm/lib/Target/CBackend/Writer.cpp:1.247 Mon Nov 7 20:11:51 2005
+++ llvm/lib/Target/CBackend/Writer.cpp Thu Nov 10 12:53:25 2005
@@ -999,7 +999,7 @@
Out << "/* Structure forward decls */\n";
for (; I != End; ++I)
if (const Type *STy = dyn_cast<StructType>(I->second)) {
- std::string Name = "struct l_" + Mangler::makeNameProper(I->first);
+ std::string Name = "struct l_" + Mang->makeNameProper(I->first);
Out << Name << ";\n";
TypeNames.insert(std::make_pair(STy, Name));
}
@@ -1010,7 +1010,7 @@
Out << "/* Typedefs */\n";
for (I = ST.type_begin(); I != End; ++I) {
const Type *Ty = cast<Type>(I->second);
- std::string Name = "l_" + Mangler::makeNameProper(I->first);
+ std::string Name = "l_" + Mang->makeNameProper(I->first);
Out << "typedef ";
printType(Out, Ty, Name);
Out << ";\n";
More information about the llvm-commits
mailing list