mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Add a version of dumpr() that has a SelectionDAG* argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d6cb88a64
commit
8fc13cb4f7
@ -1295,6 +1295,7 @@ public:
|
||||
void dump() const;
|
||||
void dumpr() const;
|
||||
void dump(const SelectionDAG *G) const;
|
||||
void dumpr(const SelectionDAG *G) const;
|
||||
|
||||
static bool classof(const SDNode *) { return true; }
|
||||
|
||||
|
@ -5726,6 +5726,11 @@ void SDNode::dumpr() const {
|
||||
DumpNodesr(errs(), this, 0, 0, once);
|
||||
}
|
||||
|
||||
void SDNode::dumpr(const SelectionDAG *G) const {
|
||||
VisitedSDNodeSet once;
|
||||
DumpNodesr(errs(), this, 0, G, once);
|
||||
}
|
||||
|
||||
|
||||
// getAddressSpace - Return the address space this GlobalAddress belongs to.
|
||||
unsigned GlobalAddressSDNode::getAddressSpace() const {
|
||||
|
Loading…
Reference in New Issue
Block a user