mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Remove C++11ism (specializing a template in a surrounding namespace) to appease the buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207136 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -70,10 +70,11 @@ bool EdgeBundles::runOnMachineFunction(MachineFunction &mf) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Specialize WriteGraph, the standard implementation won't work.
|
/// Specialize WriteGraph, the standard implementation won't work.
|
||||||
|
namespace llvm {
|
||||||
template<>
|
template<>
|
||||||
raw_ostream &llvm::WriteGraph<>(raw_ostream &O, const EdgeBundles &G,
|
raw_ostream &WriteGraph<>(raw_ostream &O, const EdgeBundles &G,
|
||||||
bool ShortNames,
|
bool ShortNames,
|
||||||
const Twine &Title) {
|
const Twine &Title) {
|
||||||
const MachineFunction *MF = G.getMachineFunction();
|
const MachineFunction *MF = G.getMachineFunction();
|
||||||
|
|
||||||
O << "digraph {\n";
|
O << "digraph {\n";
|
||||||
@ -91,6 +92,7 @@ raw_ostream &llvm::WriteGraph<>(raw_ostream &O, const EdgeBundles &G,
|
|||||||
O << "}\n";
|
O << "}\n";
|
||||||
return O;
|
return O;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// view - Visualize the annotated bipartite CFG with Graphviz.
|
/// view - Visualize the annotated bipartite CFG with Graphviz.
|
||||||
void EdgeBundles::view() const {
|
void EdgeBundles::view() const {
|
||||||
|
Reference in New Issue
Block a user