[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
Anton Korobeynikov
asl at math.spbu.ru
Mon Mar 5 21:33:08 PST 2007
Changes in directory llvm/lib/ExecutionEngine/JIT:
JITEmitter.cpp updated: 1.130 -> 1.131
---
Log message:
Implement PR1240: http://llvm.org/PR1240
---
Diffs of the changes: (+3 -2)
JITEmitter.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
diff -u llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.130 llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.131
--- llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp:1.130 Fri Feb 23 20:57:03 2007
+++ llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp Mon Mar 5 23:32:48 2007
@@ -876,8 +876,9 @@
Relocations.clear();
#ifndef NDEBUG
- DOUT << "Disassembled code:\n"
- << sys::disassembleBuffer(FnStart, FnEnd-FnStart, (uintptr_t)FnStart);
+ if (sys::hasDisassembler())
+ DOUT << "Disassembled code:\n"
+ << sys::disassembleBuffer(FnStart, FnEnd-FnStart, (uintptr_t)FnStart);
#endif
return false;
More information about the llvm-commits
mailing list