Changes in directory llvm/lib/ExecutionEngine/Interpreter:

Execution.cpp updated: 1.175 -> 1.176
---
Log message:

Don't use a cast. It causes an error on some platforms.


---
Diffs of the changes:  (+1 -1)

 Execution.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.175 
llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.176
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.175    Mon Mar  5 
21:46:41 2007
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp  Thu Mar  8 17:26:50 2007
@@ -753,7 +753,7 @@
 
   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!");



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to