summaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-10 04:49:44 +0000
committerChris Lattner <sabre@nondot.org>2001-09-10 04:49:44 +0000
commit365a76e46e7b22ee2cd7881d0a7055fc20930fd5 (patch)
treef74298a68347e8aa88cd9dcc1080ede88e779b13 /lib/ExecutionEngine/Interpreter/Interpreter.h
parent49f2b9470ea17178fa378c0ee2a314eade0c5ad0 (diff)
downloadexternal_llvm-365a76e46e7b22ee2cd7881d0a7055fc20930fd5.zip
external_llvm-365a76e46e7b22ee2cd7881d0a7055fc20930fd5.tar.gz
external_llvm-365a76e46e7b22ee2cd7881d0a7055fc20930fd5.tar.bz2
Genericize support for calling functions a bit
Add external method support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 3b14954..e7f5c86 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -78,14 +78,15 @@ public:
void setBreakpoint(const string &Name);
void infoValue(const string &Name);
void printValue(const string &Name);
- void printValue(const Type *Ty, GenericValue V);
+ static void printValue(const Type *Ty, GenericValue V);
void list(); // Do the 'list' command
void printStackTrace(); // Do the 'backtrace' command
// Code execution methods...
- void callMethod(Method *Meth, int SF = -1);
+ void callMethod (Method *Meth, const vector<GenericValue> &ArgVals);
+ void callExternalMethod(Method *Meth, const vector<GenericValue> &ArgVals);
bool executeInstruction(); // Execute one instruction...
void stepInstruction(); // Do the 'step' command