From 0bb806bd9a707358261ab83ee025c7b969c2edf0 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Wed, 17 Sep 2003 18:21:48 +0000 Subject: [PATCH] Do not put DEBUG() guard around error condition; this must *always* be printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8583 91177308-0d34-0410-b5e6-96231b3b80d8 --- support/tools/TableGen/CodeEmitterGen.cpp | 2 +- utils/TableGen/CodeEmitterGen.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/support/tools/TableGen/CodeEmitterGen.cpp b/support/tools/TableGen/CodeEmitterGen.cpp index a2839c91779..98976c73363 100644 --- a/support/tools/TableGen/CodeEmitterGen.cpp +++ b/support/tools/TableGen/CodeEmitterGen.cpp @@ -209,7 +209,7 @@ void CodeEmitterGen::run(std::ostream &o) { } o << " default:\n" - << " DEBUG(std::cerr << \"Not supported instr: \" << MI << \"\\n\");\n" + << " std::cerr << \"Not supported instr: \" << MI << \"\\n\";\n" << " abort();\n" << " }\n" << " return Value;\n" diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index a2839c91779..98976c73363 100644 --- a/utils/TableGen/CodeEmitterGen.cpp +++ b/utils/TableGen/CodeEmitterGen.cpp @@ -209,7 +209,7 @@ void CodeEmitterGen::run(std::ostream &o) { } o << " default:\n" - << " DEBUG(std::cerr << \"Not supported instr: \" << MI << \"\\n\");\n" + << " std::cerr << \"Not supported instr: \" << MI << \"\\n\";\n" << " abort();\n" << " }\n" << " return Value;\n" -- 2.34.1