diff options
author | Chris Lattner <sabre@nondot.org> | 2001-08-27 05:16:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-08-27 05:16:50 +0000 |
commit | 86660981e1382f954152b0f029f874aa36de0308 (patch) | |
tree | 840898e5b3808bb9d8a1d926ea976f8335ede2d4 /lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | d6075728d26a27f49fb9fe7f5c2cd2e49c31ec8c (diff) | |
download | external_llvm-86660981e1382f954152b0f029f874aa36de0308.zip external_llvm-86660981e1382f954152b0f029f874aa36de0308.tar.gz external_llvm-86660981e1382f954152b0f029f874aa36de0308.tar.bz2 |
Lots of new functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 9ff8336..3b14954 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/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 { |