diff options
Diffstat (limited to 'tools/lli')
-rw-r--r-- | tools/lli/lli.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index bd22b2924b..c1b7478a37 100644 --- a/tools/lli/lli.cpp +++ b/tools/lli/lli.cpp @@ -96,7 +96,8 @@ 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, 0); + Type::IntTy, + (Type *)0); std::vector<GenericValue> Args; GenericValue ResultGV; |