[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp

Nicholas Hildenbrandt hldnbrnd at cs.uiuc.edu
Fri Nov 1 11:38:01 PST 2002


Changes in directory llvm/lib/CWriter:

Writer.cpp updated: 1.68 -> 1.69

---
Log message:

Fixed bug in Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll


---
Diffs of the changes:

Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.68 llvm/lib/CWriter/Writer.cpp:1.69
--- llvm/lib/CWriter/Writer.cpp:1.68	Mon Oct 28 13:54:06 2002
+++ llvm/lib/CWriter/Writer.cpp	Fri Nov  1 11:37:09 2002
@@ -208,7 +208,7 @@
   case Type::FunctionTyID: {
     const FunctionType *MTy = cast<FunctionType>(Ty);
     printType(MTy->getReturnType(), "");
-    Out << " " << NameSoFar << " (";
+    Out << " (" << NameSoFar << ") (";
 
     for (FunctionType::ParamTypes::const_iterator
            I = MTy->getParamTypes().begin(),





More information about the llvm-commits mailing list