Fix for PR341

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14846 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-07-15 02:50:38 +00:00
parent f51c7f56ca
commit 94009a5954

View File

@ -123,7 +123,7 @@ public:
default: o << "UNKNOWN NODE TYPE: " << getNodeType() << "\n"; abort();
}
o << getValue();
o << *getValue();
if (!isa<Instruction>(getValue())) o << "\n";
for (unsigned i = 0; i < this->getNumChildren(); ++i)