[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Evan Cheng evan.cheng at apple.com
Wed Mar 1 14:01:11 PST 2006



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.194 -> 1.195
---
Log message:

AsmWriter should not print LLVM constant in comment. Assembler won't like
multi-line comments.


---
Diffs of the changes:  (+0 -4)

 AsmWriter.cpp |    4 ----
 1 files changed, 4 deletions(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.194 llvm/lib/VMCore/AsmWriter.cpp:1.195
--- llvm/lib/VMCore/AsmWriter.cpp:1.194	Mon Feb 27 04:33:53 2006
+++ llvm/lib/VMCore/AsmWriter.cpp	Wed Mar  1 16:00:59 2006
@@ -26,7 +26,6 @@
 #include "llvm/Instructions.h"
 #include "llvm/Module.h"
 #include "llvm/SymbolTable.h"
-#include "llvm/Assembly/Writer.h"
 #include "llvm/Support/CFG.h"
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/ADT/STLExtras.h"
@@ -1312,9 +1311,6 @@
   if (this == 0) { o << "<null> constant value\n"; return; }
 
   o << ' ' << getType()->getDescription() << ' ';
-
-  std::map<const Type *, std::string> TypeTable;
-  WriteConstantInt(o, this, false, TypeTable, 0);
 }
 
 void Type::print(std::ostream &o) const {






More information about the llvm-commits mailing list