mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +00:00
Support for llvm_ostreams.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -378,9 +378,12 @@ public:
|
||||
|
||||
/// print - Print a dot graph to the specified ostream...
|
||||
///
|
||||
void print(llvm_ostream &O) const {
|
||||
if (O.stream()) print(*O.stream());
|
||||
}
|
||||
void print(std::ostream &O) const;
|
||||
|
||||
/// dump - call print(std::cerr), for use from the debugger...
|
||||
/// dump - call print(llvm_cerr), for use from the debugger...
|
||||
///
|
||||
void dump() const;
|
||||
|
||||
|
@@ -362,6 +362,9 @@ public:
|
||||
///
|
||||
void forwardNode(DSNode *To, unsigned Offset);
|
||||
|
||||
void print(llvm_ostream &O, const DSGraph *G) const {
|
||||
if (O.stream()) print(*O.stream(), G);
|
||||
}
|
||||
void print(std::ostream &O, const DSGraph *G) const;
|
||||
void dump() const;
|
||||
|
||||
|
Reference in New Issue
Block a user