[llvm-commits] [llvm] r58778 - /llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp
Dale Johannesen
dalej at apple.com
Wed Nov 5 15:23:49 PST 2008
On Nov 5, 2008, at 3:21 PMPST, Evan Cheng wrote:
> 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.
I found it useful, that's why I put it there. Could you at least
leave it inside #if 0?
> 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;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list