summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit676d4118cf71c7dc257fd9c2cd260d86220e34af (patch)
tree86df08e01ef1d63c3988036f98b50e688c076bf2 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
parentf0afd8bac74a03c4d029ec2d62c2617aec746957 (diff)
downloadbcm5719-llvm-676d4118cf71c7dc257fd9c2cd260d86220e34af.tar.gz
bcm5719-llvm-676d4118cf71c7dc257fd9c2cd260d86220e34af.zip
Genericize support for calling functions a bit
Add external method support llvm-svn: 528
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 3b14954c999..e7f5c864a61 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/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
OpenPOWER on IntegriCloud