aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-26 06:13:05 +0000
committerChris Lattner <sabre@nondot.org>2003-12-26 06:13:05 +0000
commit2cab55d7e1bde83cd5f5dccee9a331ada8c1a67c (patch)
treea8dde36fa22ecb653cf8df38c0657af02ad7bff8 /lib/ExecutionEngine/Interpreter/Interpreter.cpp
parentff65e36be0f4fbe776ee6bb39b7ab14ebe3895eb (diff)
No longer run atExit functions from run()
rename run to runFunction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.cpp b/lib/ExecutionEngine/Interpreter/Interpreter.cpp
index 663d9a6b36..77c008730f 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.cpp
+++ b/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;