aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-18 21:55:32 +0000
committerChris Lattner <sabre@nondot.org>2001-10-18 21:55:32 +0000
commitf8f2afb8cc5f080b291faad678e0a256ea44d15f (patch)
tree379ee6deb37bce643073e445144af18aea82d9ed /lib/ExecutionEngine/Interpreter/Interpreter.h
parentb7e711838f8d6445f1ad7fa032515ad472060c84 (diff)
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
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 82e7f1fc3f..8c2f32566a 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -86,6 +86,9 @@ public:
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