Back out my last check-in. Wrong place to fix it.

llvm-svn: 26462
This commit is contained in:
Evan Cheng 2006-03-01 22:17:00 +00:00
parent 25ecfb9411
commit dd066eac71

View File

@ -1311,6 +1311,9 @@ void Constant::print(std::ostream &o) const {
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 {