diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-12-26 06:13:05 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-12-26 06:13:05 +0000 |
| commit | d94296c620f44a06a7a909ba513d6e356f0bb3e9 (patch) | |
| tree | 6e766bbc4167cc1d831ce5779b81be497a8febed /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | |
| parent | ad024c3de554882114b4c83bf3cc186a2ccf8462 (diff) | |
| download | llvm-d94296c620f44a06a7a909ba513d6e356f0bb3e9.zip llvm-d94296c620f44a06a7a909ba513d6e356f0bb3e9.tar.gz llvm-d94296c620f44a06a7a909ba513d6e356f0bb3e9.tar.bz2 | |
No longer run atExit functions from run()
rename run to runFunction
llvm-svn: 10609
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index f8bd316..1f50777 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -92,11 +92,10 @@ public: Interpreter(Module *M, bool isLittleEndian, bool isLongPointer); inline ~Interpreter() { } - /// runAtExitHandlers - Run any functions registered by the - /// program's calls to atexit(3), which we intercept and store in - /// AtExitHandlers. + /// runAtExitHandlers - Run any functions registered by the program's calls to + /// atexit(3), which we intercept and store in AtExitHandlers. /// - void runAtExitHandlers (); + void runAtExitHandlers(); /// create - Create an interpreter ExecutionEngine. This can never fail. /// @@ -104,8 +103,8 @@ public: /// run - Start execution with the specified function and arguments. /// - virtual GenericValue run(Function *F, - const std::vector<GenericValue> &ArgValues); + virtual GenericValue runFunction(Function *F, + const std::vector<GenericValue> &ArgValues); /// recompileAndRelinkFunction - For the interpreter, functions are always /// up-to-date. |
