[llvm-commits] CVS: llvm/tools/lli/lli.cpp
Reid Spencer
reid at x10sys.com
Sat Dec 30 22:03:33 PST 2006
Changes in directory llvm/tools/lli:
lli.cpp updated: 1.62 -> 1.63
---
Log message:
For PR950: http://llvm.org/PR950 :
Convert signed integer types to signless.
---
Diffs of the changes: (+2 -2)
lli.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/tools/lli/lli.cpp
diff -u llvm/tools/lli/lli.cpp:1.62 llvm/tools/lli/lli.cpp:1.63
--- llvm/tools/lli/lli.cpp:1.62 Sun Dec 10 13:01:52 2006
+++ llvm/tools/lli/lli.cpp Sun Dec 31 00:02:26 2006
@@ -121,12 +121,12 @@
// If the program didn't explicitly call exit, call exit now, for the
// program. This ensures that any atexit handlers get called correctly.
Function *Exit = MP->getModule()->getOrInsertFunction("exit", Type::VoidTy,
- Type::IntTy,
+ Type::Int32Ty,
(Type *)0);
std::vector<GenericValue> Args;
GenericValue ResultGV;
- ResultGV.IntVal = Result;
+ ResultGV.Int32Val = Result;
Args.push_back(ResultGV);
EE->runFunction(Exit, Args);
More information about the llvm-commits
mailing list