summaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r--lib/ExecutionEngine/JIT/JITEmitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index d9fd82d..176c22a 100644
--- a/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -866,6 +866,7 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
<< Relocations.size() << " relocations\n";
Relocations.clear();
+#ifndef NDEBUG
DOUT << "Disassembled code:\n"
#if defined(__i386__)
<< disassembleBuffer(FnStart, FnEnd-FnStart,
@@ -876,6 +877,7 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
#else
<< "N/A\n";
#endif
+#endif
return false;
}