aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-03-08 23:26:50 +0000
committerBill Wendling <isanbard@gmail.com>2007-03-08 23:26:50 +0000
commit61a27739771fd6eaaebc1e665218603c768a8904 (patch)
tree0d1ae9f640681f5caacd61321cd65ef99054a548 /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
parentfe7b8a7c6829dd3ea2edd3086f3643a47bec13c0 (diff)
downloadllvm-61a27739771fd6eaaebc1e665218603c768a8904.zip
llvm-61a27739771fd6eaaebc1e665218603c768a8904.tar.gz
llvm-61a27739771fd6eaaebc1e665218603c768a8904.tar.bz2
Don't use a cast. It causes an error on some platforms.
llvm-svn: 35037
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Execution.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index b19fa04..e64a6e8 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/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!");