mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-12 01:41:37 +00:00
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
This commit is contained in:
parent
466207a3eb
commit
c5633c235e
@ -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,
|
||||
@ -875,6 +876,7 @@ bool JITEmitter::finishFunction(MachineFunction &F) {
|
||||
Disassembler::X86_64, (uint64_t)FnStart);
|
||||
#else
|
||||
<< "N/A\n";
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user