summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitd94296c620f44a06a7a909ba513d6e356f0bb3e9 (patch)
tree6e766bbc4167cc1d831ce5779b81be497a8febed /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
parentad024c3de554882114b4c83bf3cc186a2ccf8462 (diff)
downloadbcm5719-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.cpp5
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;
OpenPOWER on IntegriCloud