From 2cab55d7e1bde83cd5f5dccee9a331ada8c1a67c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 26 Dec 2003 06:13:05 +0000 Subject: 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 --- lib/ExecutionEngine/Interpreter/Interpreter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.cpp') 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 &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; -- cgit v1.2.3-18-g5258