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 | 61a27739771fd6eaaebc1e665218603c768a8904 (patch) | |
| tree | 0d1ae9f640681f5caacd61321cd65ef99054a548 /llvm/lib/ExecutionEngine/Interpreter/Execution.cpp | |
| parent | fe7b8a7c6829dd3ea2edd3086f3643a47bec13c0 (diff) | |
| download | llvm-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.cpp | 2 |
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!"); |
