File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -265,10 +265,7 @@ class LLT {
265
265
void print (raw_ostream &OS) const ;
266
266
267
267
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
268
- LLVM_DUMP_METHOD void dump () const {
269
- print (dbgs ());
270
- dbgs () << ' \n ' ;
271
- }
268
+ LLVM_DUMP_METHOD void dump () const ;
272
269
#endif
273
270
274
271
constexpr bool operator ==(const LLT &RHS) const {
Original file line number Diff line number Diff line change @@ -47,6 +47,13 @@ void LLT::print(raw_ostream &OS) const {
47
47
OS << " LLT_invalid" ;
48
48
}
49
49
50
+ #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
51
+ LLVM_DUMP_METHOD void LLT::dump () const {
52
+ print (dbgs ());
53
+ dbgs () << ' \n ' ;
54
+ }
55
+ #endif
56
+
50
57
const constexpr LLT::BitFieldInfo LLT::ScalarSizeFieldInfo;
51
58
const constexpr LLT::BitFieldInfo LLT::PointerSizeFieldInfo;
52
59
const constexpr LLT::BitFieldInfo LLT::PointerAddressSpaceFieldInfo;
You can’t perform that action at this time.
0 commit comments