projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d3a91
)
Don't use a cast. It causes an error on some platforms.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 8 Mar 2007 23:26:50 +0000
(23:26 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 8 Mar 2007 23:26:50 +0000
(23:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35037
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/Interpreter/Execution.cpp
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/Interpreter/Execution.cpp
b/lib/ExecutionEngine/Interpreter/Execution.cpp
index b19fa048cfd253f07ec1f9b3d3fa1153e8351660..e64a6e8e51f36e0525898434eb3e9a96b2c6a15a 100644
(file)
--- 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!");