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.cpp | |
parent | ad024c3de554882114b4c83bf3cc186a2ccf8462 (diff) | |
download | bcm5719-llvm-d94296c620f44a06a7a909ba513d6e356f0bb3e9.tar.gz bcm5719-llvm-d94296c620f44a06a7a909ba513d6e356f0bb3e9.zip |
No longer run atExit functions from run()
rename run to runFunction
llvm-svn: 10609
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp index 663d9a6b36b..77c008730ff 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp @@ -69,7 +69,7 @@ void Interpreter::runAtExitHandlers () { /// run - Start execution with the specified function and arguments. /// -GenericValue Interpreter::run(Function *F, +GenericValue Interpreter::runFunction(Function *F, const std::vector<GenericValue> &ArgValues) { assert (F && "Function *F was null at entry to run()"); @@ -91,9 +91,6 @@ GenericValue Interpreter::run(Function *F, // Start executing the function. run(); - // Run any atexit handlers now! - runAtExitHandlers(); - GenericValue rv; rv.IntVal = ExitCode; return rv; |