diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-31 06:02:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-31 06:02:26 +0000 |
commit | 71d2ec9e6d20bd8701471bc6e6db620838ce3539 (patch) | |
tree | 28ce6e79e463228525b1ae5a2b97ec86cb682b86 /tools/lli | |
parent | eacb7020ec7b0a6a0078f1be7bfd77bf6fe1ff06 (diff) | |
download | llvm-71d2ec9e6d20bd8701471bc6e6db620838ce3539.tar.gz llvm-71d2ec9e6d20bd8701471bc6e6db620838ce3539.tar.bz2 llvm-71d2ec9e6d20bd8701471bc6e6db620838ce3539.tar.xz |
For PR950:
Convert signed integer types to signless.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli')
-rw-r--r-- | tools/lli/lli.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index 149536af1b..5b139bff1a 100644 --- a/tools/lli/lli.cpp +++ b/tools/lli/lli.cpp @@ -121,12 +121,12 @@ int main(int argc, char **argv, char * const *envp) { // 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); |