summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/EdgeBundles.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:26:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 16:26:38 +0000
commit4c93d15f09bca663756808e4a318f52c705107df (patch)
treecf23e0c9da4ea8faf20db5757b85b100db8b8a38 /llvm/lib/CodeGen/EdgeBundles.cpp
parent6c8f07ff46c8cd41d120f9ab001f8b647961532b (diff)
downloadbcm5719-llvm-4c93d15f09bca663756808e4a318f52c705107df.tar.gz
bcm5719-llvm-4c93d15f09bca663756808e4a318f52c705107df.zip
Twinify GraphWriter a little bit.
llvm-svn: 144647
Diffstat (limited to 'llvm/lib/CodeGen/EdgeBundles.cpp')
-rw-r--r--llvm/lib/CodeGen/EdgeBundles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/EdgeBundles.cpp b/llvm/lib/CodeGen/EdgeBundles.cpp
index a7aba89b87f..3bb04657b58 100644
--- a/llvm/lib/CodeGen/EdgeBundles.cpp
+++ b/llvm/lib/CodeGen/EdgeBundles.cpp
@@ -77,7 +77,7 @@ void EdgeBundles::view() const {
/// Specialize WriteGraph, the standard implementation won't work.
raw_ostream &llvm::WriteGraph(raw_ostream &O, const EdgeBundles &G,
bool ShortNames,
- const std::string &Title) {
+ const Twine &Title) {
const MachineFunction *MF = G.getMachineFunction();
O << "digraph {\n";
OpenPOWER on IntegriCloud