summaryrefslogtreecommitdiff
path: root/clang/utils
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2023-02-03 16:23:39 +0100
committerTimm Bäder <tbaeder@redhat.com>2023-02-03 16:24:04 +0100
commit50591936a1befc44f2853f1a6493ee1ef2afaa6e (patch)
treeb52a69721ff27f3095844860db038ffa2f2e279b /clang/utils
parent0bf58458d31e238b4ae850e2a0d934190c6682cc (diff)
downloadllvm-50591936a1befc44f2853f1a6493ee1ef2afaa6e.tar.gz
Revert "[clang][Interp] Only generate disassembly in debug builds"
This reverts commit 60dcc70e48fa9814a4e0d5e12856bc88b7f927eb. This breaks builders, e.g. https://lab.llvm.org/buildbot/#/builders/36/builds/30036
Diffstat (limited to 'clang/utils')
-rw-r--r--clang/utils/TableGen/ClangOpcodesEmitter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/utils/TableGen/ClangOpcodesEmitter.cpp b/clang/utils/TableGen/ClangOpcodesEmitter.cpp
index c4992ef7d25b..aa012233c46e 100644
--- a/clang/utils/TableGen/ClangOpcodesEmitter.cpp
+++ b/clang/utils/TableGen/ClangOpcodesEmitter.cpp
@@ -161,7 +161,6 @@ void ClangOpcodesEmitter::EmitInterp(raw_ostream &OS, StringRef N, Record *R) {
}
void ClangOpcodesEmitter::EmitDisasm(raw_ostream &OS, StringRef N, Record *R) {
-#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
OS << "#ifdef GET_DISASM\n";
Enumerate(R, N, [R, &OS](ArrayRef<Record *>, const Twine &ID) {
OS << "case OP_" << ID << ":\n";
@@ -177,7 +176,6 @@ void ClangOpcodesEmitter::EmitDisasm(raw_ostream &OS, StringRef N, Record *R) {
OS << " continue;\n";
});
OS << "#endif\n";
-#endif
}
void ClangOpcodesEmitter::EmitEmitter(raw_ostream &OS, StringRef N, Record *R) {