diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-20 20:51:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-20 20:51:43 +0000 |
commit | c5633c235e94f69c6a77e894bcc84d8ba71106f0 (patch) | |
tree | 411ed52f909b77c7aeb8cb23cd7a108e65743ad4 /lib/ExecutionEngine | |
parent | 466207a3ebe9409b84e58e991e8e0e20441a3e4c (diff) | |
download | external_llvm-c5633c235e94f69c6a77e894bcc84d8ba71106f0.zip external_llvm-c5633c235e94f69c6a77e894bcc84d8ba71106f0.tar.gz external_llvm-c5633c235e94f69c6a77e894bcc84d8ba71106f0.tar.bz2 |
DOUT still evaluates side effects, even though it doesn't print. This means
that disassembleBuffer will be called even if NDEBUG, but the result will
be ignored.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/JIT/JITEmitter.cpp | 2 |
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; } |