diff options
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.cpp')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.cpp | 5 |
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; |