[llvm-commits] [llvm] r58778 - /llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp

Evan Cheng evan.cheng at apple.com
Wed Nov 5 15:21:12 PST 2008


Author: evancheng
Date: Wed Nov  5 17:21:11 2008
New Revision: 58778

URL: http://llvm.org/viewvc/llvm-project?rev=58778&view=rev
Log:
Remove debug output that's not really useful.

Modified:
    llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp

Modified: llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp?rev=58778&r1=58777&r2=58778&view=diff

==============================================================================
--- llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp Wed Nov  5 17:21:11 2008
@@ -954,22 +954,9 @@
   MemMgr->setMemoryExecutable();
 
 #ifndef NDEBUG
-  {
-  DOUT << std::hex;
-  int i;
-  unsigned char* q = FnStart;
-  for (i=1; q!=FnEnd; q++, i++) {
-    if (i%8==1)
-      DOUT << "0x" << (long)q << ": ";
-    DOUT<< (unsigned short)*q << " ";
-    if (i%8==0)
-      DOUT<<"\n";
-  }
-  DOUT << std::dec;
   if (sys::hasDisassembler())
     DOUT << "Disassembled code:\n"
          << sys::disassembleBuffer(FnStart, FnEnd-FnStart, (uintptr_t)FnStart);
-  }
 #endif
   if (ExceptionHandling) {
     uintptr_t ActualSize = 0;





More information about the llvm-commits mailing list