Output function address as hex.
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 6 Jun 2003 06:52:35 +0000 (06:52 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 6 Jun 2003 06:52:35 +0000 (06:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6649 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/JIT/JITEmitter.cpp

index 4a58792afcc9053a24fb532f8b32717c3c2f3d5b..242576604a9e7fa13f44faeb7e45e945701d1b82 100644 (file)
@@ -103,9 +103,8 @@ void Emitter::finishFunction(MachineFunction &F) {
   ConstantPoolAddresses.clear();
   NumBytes += CurByte-CurBlock;
 
-  DEBUG(std::cerr << "Finished CodeGen of [0x" << std::hex
-                  << (unsigned)(intptr_t)CurBlock
-                  << std::dec << "] Function: " << F.getFunction()->getName()
+  DEBUG(std::cerr << "Finished CodeGen of [0x" << (void*)CurBlock
+                  << "] Function: " << F.getFunction()->getName()
                   << ": " << CurByte-CurBlock << " bytes of text\n");
 }