Skip to content

Commit 874e4e4

Browse files
committed
[NFC] Added DominanceInfo::dump.
Just call to the superclass' print method.
1 parent 1fada55 commit 874e4e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/swift/SIL/Dominance.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ class DominanceInfo : public DominatorTreeBase {
8686
void reset() {
8787
super::reset();
8888
}
89+
90+
#ifndef NDEBUG
91+
void dump() { print(llvm::errs()); };
92+
#endif
8993
};
9094

9195
/// Compute a single block's dominance frontier.

0 commit comments

Comments
 (0)