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 {
472472 return LLVM_LIKELY (Type == T_Array) ? &as<json::Array>() : nullptr ;
473473 }
474474
475- #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
476475 void print (llvm::raw_ostream &OS) const ;
476+ #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
477477 LLVM_DUMP_METHOD void dump () const {
478478 print (llvm::dbgs ());
479479 llvm::dbgs () << ' \n ' ;
Original file line number Diff line number Diff line change @@ -182,9 +182,7 @@ void Value::destroy() {
182182 }
183183}
184184
185- #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
186185void Value::print (llvm::raw_ostream &OS) const { OS << *this ; }
187- #endif // !NDEBUG || LLVM_ENABLE_DUMP
188186
189187bool operator ==(const Value &L, const Value &R) {
190188 if (L.kind () != R.kind ())
You can’t perform that action at this time.
0 commit comments