From 2c1a98ef08a6ebc25cd9b67f21b40388eb8ba088 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 27 Aug 2001 05:16:50 +0000 Subject: Lots of new functionality llvm-svn: 372 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h') 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 { -- cgit v1.2.3