Don't use std::hex.
authorBill Wendling <isanbard@gmail.com>
Thu, 8 Mar 2007 23:37:24 +0000 (23:37 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 8 Mar 2007 23:37:24 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35038 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Execution.cpp

index e64a6e8e51f36e0525898434eb3e9a96b2c6a15a..091b8e553160d7969de4de4b12e07f6eb66c3e9d 100644 (file)
@@ -753,7 +753,7 @@ void Interpreter::visitAllocationInst(AllocationInst &I) {
 
   DOUT << "Allocated Type: " << *Ty << " (" << TypeSize << " bytes) x " 
        << NumElements << " (Total: " << MemToAlloc << ") at "
-       << std::hex << Memory << '\n';
+       << uintptr_t(Memory) << '\n';
 
   GenericValue Result = PTOGV(Memory);
   assert(Result.PointerVal != 0 && "Null pointer returned by malloc!");