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 2828#include " llvm/ADT/Hashing.h"
2929#include " llvm/ADT/Optional.h"
3030#include " llvm/ADT/PointerUnion.h"
31+ #include " llvm/Support/Compiler.h"
3132#include " llvm/Support/raw_ostream.h"
3233
3334namespace swift {
@@ -642,6 +643,9 @@ class SILValue {
642643
643644 // / Verify that this SILValue and its uses respects ownership invariants.
644645 void verifyOwnership (DeadEndBlocks *DEBlocks) const ;
646+
647+ LLVM_ATTRIBUTE_DEPRECATED (void dump () const LLVM_ATTRIBUTE_USED,
648+ "Only for use in the debugger");
645649};
646650
647651inline SILNodePointer::SILNodePointer (SILValue value) : node(value) { }
Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ SILLocation SILValue::getLoc() const {
134134 return Value->getFunction ()->getLocation ();
135135}
136136
137+ void SILValue::dump () const {
138+ Value->dump ();
139+ }
140+
137141// ===----------------------------------------------------------------------===//
138142// OwnershipKind
139143// ===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments