Twine: Use raw_ostream::write_hex, remove unused itohexstr method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77617 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/Twine.cpp b/lib/Support/Twine.cpp
index 2b0cf06..83a3a61 100644
--- a/lib/Support/Twine.cpp
+++ b/lib/Support/Twine.cpp
@@ -60,8 +60,7 @@
OS << *static_cast<const int64_t*>(Ptr);
break;
case Twine::UHexKind:
- // FIXME: Add raw_ostream functionality for this.
- OS << ::utohexstr(*static_cast<const uint64_t*>(Ptr));
+ OS.write_hex(*static_cast<const uint64_t*>(Ptr));
break;
}
}