File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -472,8 +472,8 @@ class Value {
472
472
return LLVM_LIKELY (Type == T_Array) ? &as<json::Array>() : nullptr ;
473
473
}
474
474
475
- #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
476
475
void print (llvm::raw_ostream &OS) const ;
476
+ #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
477
477
LLVM_DUMP_METHOD void dump () const {
478
478
print (llvm::dbgs ());
479
479
llvm::dbgs () << ' \n ' ;
Original file line number Diff line number Diff line change @@ -182,9 +182,7 @@ void Value::destroy() {
182
182
}
183
183
}
184
184
185
- #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
186
185
void Value::print (llvm::raw_ostream &OS) const { OS << *this ; }
187
- #endif // !NDEBUG || LLVM_ENABLE_DUMP
188
186
189
187
bool operator ==(const Value &L, const Value &R) {
190
188
if (L.kind () != R.kind ())
You can’t perform that action at this time.
0 commit comments