File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,7 @@ class ActorIsolation {
271271 void printForDiagnostics (llvm::raw_ostream &os,
272272 StringRef openingQuotationMark = " '" ) const ;
273273
274- SWIFT_DEBUG_DUMP {
275- print (llvm::dbgs ());
276- llvm::dbgs () << ' \n ' ;
277- }
274+ SWIFT_DEBUG_DUMPER (dump());
278275
279276 // Defined out of line to prevent linker errors since libswiftBasic would
280277 // include this header exascerbating a layering violation where libswiftBasic
Original file line number Diff line number Diff line change @@ -1784,6 +1784,11 @@ void ActorIsolation::printForSIL(llvm::raw_ostream &os) const {
17841784 llvm_unreachable (" Covered switch isn't covered?!" );
17851785}
17861786
1787+ void ActorIsolation::dump () const {
1788+ print (llvm::dbgs ());
1789+ llvm::dbgs () << ' \n ' ;
1790+ }
1791+
17871792void ActorIsolation::dumpForDiagnostics () const {
17881793 printForDiagnostics (llvm::dbgs ());
17891794 llvm::dbgs () << ' \n ' ;
You can’t perform that action at this time.
0 commit comments