The JIT now passes the environment pointer to the main() function when it
starts a program.  This allows the GNU env program to compile and JIT under
LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8022 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 3453d83..4fdd6a1 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
@@ -40,7 +40,8 @@
 /// run - Start execution with the specified function and arguments.
 ///
 int Interpreter::run(const std::string &MainFunction,
-		     const std::vector<std::string> &Args) {
+		     const std::vector<std::string> &Args,
+                     const char ** envp) {
   // Start interpreter into the main function...
   //
   if (!callMainFunction(MainFunction, Args) && !Debug) {