Enhancements to pass argc & argv to main if required
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@909 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 82e7f1f..8c2f325 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -86,6 +86,9 @@
static void print(const Type *Ty, GenericValue V);
static void printValue(const Type *Ty, GenericValue V);
+ // Hack until we can parse command line args...
+ bool callMainMethod(const string &MainName,
+ const string &InputFilename);
void list(); // Do the 'list' command
void printStackTrace(); // Do the 'backtrace' command