[llvm-commits] [poolalloc] r54992 - /poolalloc/trunk/lib/DSA/DataStructure.cpp
John Criswell
criswell at uiuc.edu
Tue Aug 19 09:31:05 PDT 2008
Author: criswell
Date: Tue Aug 19 11:31:04 2008
New Revision: 54992
URL: http://llvm.org/viewvc/llvm-project?rev=54992&view=rev
Log:
Don't use the return value of WriteTypeSymbolic(); it returns void now.
Modified:
poolalloc/trunk/lib/DSA/DataStructure.cpp
Modified: poolalloc/trunk/lib/DSA/DataStructure.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/DataStructure.cpp?rev=54992&r1=54991&r2=54992&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/DataStructure.cpp (original)
+++ poolalloc/trunk/lib/DSA/DataStructure.cpp Tue Aug 19 11:31:04 2008
@@ -770,10 +770,12 @@
M = getParentGraph()->retnodes_begin()->first->getParent();
DOUT << "MergeTypeInfo Folding OrigTy: ";
- DEBUG(WriteTypeSymbolic(*cerr.stream(), Ty, M) << "\n due to:";
- WriteTypeSymbolic(*cerr.stream(), NewTy, M) << " @ " << Offset << "!\n"
- << "SubType: ";
- WriteTypeSymbolic(*cerr.stream(), SubType, M) << "\n\n");
+ DEBUG(WriteTypeSymbolic(*cerr.stream(), Ty, M);
+ *cerr.stream() << "\n due to:";
+ WriteTypeSymbolic(*cerr.stream(), NewTy, M);
+ *cerr.stream() << " @ " << Offset << "!\n" << "SubType: ";
+ WriteTypeSymbolic(*cerr.stream(), SubType, M);
+ *cerr.stream() << "\n\n");
if (FoldIfIncompatible) foldNodeCompletely();
return true;
More information about the llvm-commits
mailing list