summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-08-27 05:16:50 +0000
committerChris Lattner <sabre@nondot.org>2001-08-27 05:16:50 +0000
commit2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088 (patch)
tree54d8d582c6b903c0ff8234cdacec269f3fcdb141 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
parentf04f646c1b5a836abed1753e3424ae46b5482a71 (diff)
downloadbcm5719-llvm-2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088.tar.gz
bcm5719-llvm-2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088.zip
Lots of new functionality
llvm-svn: 372
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 9ff83365dbe..3b14954c999 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -14,6 +14,7 @@ struct MethodInfo; // Defined in ExecutionAnnotations.h
class CallInst;
class ReturnInst;
class BranchInst;
+class AllocationInst;
union GenericValue {
bool BoolVal;
@@ -75,6 +76,7 @@ public:
// User Interation Methods...
bool callMethod(const string &Name); // return true on failure
void setBreakpoint(const string &Name);
+ void infoValue(const string &Name);
void printValue(const string &Name);
void printValue(const Type *Ty, GenericValue V);
@@ -83,7 +85,7 @@ public:
void printStackTrace(); // Do the 'backtrace' command
// Code execution methods...
- void callMethod(Method *Meth, ExecutionContext *SF = 0);
+ void callMethod(Method *Meth, int SF = -1);
bool executeInstruction(); // Execute one instruction...
void stepInstruction(); // Do the 'step' command
@@ -95,6 +97,7 @@ public:
void executeCallInst(CallInst *I, ExecutionContext &SF);
void executeRetInst(ReturnInst *I, ExecutionContext &SF);
void executeBrInst(BranchInst *I, ExecutionContext &SF);
+ void executeAllocInst(AllocationInst *I, ExecutionContext &SF);
// getCurrentMethod - Return the currently executing method
inline Method *getCurrentMethod() const {
OpenPOWER on IntegriCloud