Teach raw_ostream to accept SmallString.
[oota-llvm.git] / lib / Support / APInt.cpp
index fefd0f35aaae746f576faa49e4eab2319b01a025..4a2a620eab4dd878c9983c28ad79c38b9afadf5d 100644 (file)
@@ -2291,7 +2291,7 @@ void APInt::dump() const {
   this->toStringUnsigned(U);
   this->toStringSigned(S);
   dbgs() << "APInt(" << BitWidth << "b, "
-         << U.str() << "u " << S.str() << "s)";
+         << U << "u " << S << "s)";
 }
 
 void APInt::print(raw_ostream &OS, bool isSigned) const {