File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 28
28
#include " llvm/ADT/Hashing.h"
29
29
#include " llvm/ADT/Optional.h"
30
30
#include " llvm/ADT/PointerUnion.h"
31
+ #include " llvm/Support/Compiler.h"
31
32
#include " llvm/Support/raw_ostream.h"
32
33
33
34
namespace swift {
@@ -642,6 +643,9 @@ class SILValue {
642
643
643
644
// / Verify that this SILValue and its uses respects ownership invariants.
644
645
void verifyOwnership (DeadEndBlocks *DEBlocks) const ;
646
+
647
+ LLVM_ATTRIBUTE_DEPRECATED (void dump () const LLVM_ATTRIBUTE_USED,
648
+ "Only for use in the debugger");
645
649
};
646
650
647
651
inline SILNodePointer::SILNodePointer (SILValue value) : node(value) { }
Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ SILLocation SILValue::getLoc() const {
134
134
return Value->getFunction ()->getLocation ();
135
135
}
136
136
137
+ void SILValue::dump () const {
138
+ Value->dump ();
139
+ }
140
+
137
141
// ===----------------------------------------------------------------------===//
138
142
// OwnershipKind
139
143
// ===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments