From db11fdfda50017e0175602fec9949aa34141656a Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Thu, 6 Apr 2017 20:23:57 +0000 Subject: Revert "Turn some C-style vararg into variadic templates" This reverts commit r299699, the examples needs to be updated. llvm-svn: 299702 --- llvm/tools/lli/lli.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/tools/lli/lli.cpp') diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index dbe600c4b90..0823ff469de 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -606,7 +606,8 @@ int main(int argc, char **argv, char * const *envp) { // If the program doesn't explicitly call exit, we will need the Exit // function later on to make an explicit call, so get the function now. Constant *Exit = Mod->getOrInsertFunction("exit", Type::getVoidTy(Context), - Type::getInt32Ty(Context)); + Type::getInt32Ty(Context), + nullptr); // Run static constructors. if (!ForceInterpreter) { -- cgit v1.2.3