diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-03-08 23:26:50 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-03-08 23:26:50 +0000 |
commit | 3bae2e97d97ec5ed8df9ea4795a1127697738942 (patch) | |
tree | c90c0733cb72a959504f4aaf4896c0019ebd30ed /lib/ExecutionEngine/Interpreter | |
parent | 12d3a9138694541f8b2443501def6b72fedfa86b (diff) | |
download | external_llvm-3bae2e97d97ec5ed8df9ea4795a1127697738942.zip external_llvm-3bae2e97d97ec5ed8df9ea4795a1127697738942.tar.gz external_llvm-3bae2e97d97ec5ed8df9ea4795a1127697738942.tar.bz2 |
Don't use a cast. It causes an error on some platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Execution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index b19fa04..e64a6e8 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -753,7 +753,7 @@ void Interpreter::visitAllocationInst(AllocationInst &I) { DOUT << "Allocated Type: " << *Ty << " (" << TypeSize << " bytes) x " << NumElements << " (Total: " << MemToAlloc << ") at " - << unsigned(Memory) << '\n'; + << std::hex << Memory << '\n'; GenericValue Result = PTOGV(Memory); assert(Result.PointerVal != 0 && "Null pointer returned by malloc!"); |