diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-27 04:15:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-27 04:15:57 +0000 |
commit | e43db88b2d12f2aebbe62aca8465a46c92292fce (patch) | |
tree | 5000957a2f8f861cbf457dd2b916ff6cb3103409 /lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | 7dcd61209a1575e82ea23430cf9099a8b8086dbb (diff) |
* Implement exit() builtin function
* Implement linked in runtime library with puts(char*) in it
* implement builtin putchar(int) function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 8c2f32566a..d9a6834128 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -108,6 +108,7 @@ public: void executeRetInst(ReturnInst *I, ExecutionContext &SF); void executeBrInst(BranchInst *I, ExecutionContext &SF); void executeAllocInst(AllocationInst *I, ExecutionContext &SF); + void exitCalled(GenericValue GV); // getCurrentMethod - Return the currently executing method inline Method *getCurrentMethod() const { @@ -120,6 +121,11 @@ public: inline bool isStopped() const { return !ECStack.empty(); } private: // Helper functions + // getCurrentExecutablePath() - Return the directory that the lli executable + // lives in. + // + string getCurrentExecutablePath() const; + // printCurrentInstruction - Print out the instruction that the virtual PC is // at, or fail silently if no program is running. // |