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
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index f8bd316..1f50777 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -92,11 +92,10 @@
Interpreter(Module *M, bool isLittleEndian, bool isLongPointer);
inline ~Interpreter() { }
- /// runAtExitHandlers - Run any functions registered by the
- /// program's calls to atexit(3), which we intercept and store in
- /// AtExitHandlers.
+ /// runAtExitHandlers - Run any functions registered by the program's calls to
+ /// atexit(3), which we intercept and store in AtExitHandlers.
///
- void runAtExitHandlers ();
+ void runAtExitHandlers();
/// create - Create an interpreter ExecutionEngine. This can never fail.
///
@@ -104,8 +103,8 @@
/// run - Start execution with the specified function and arguments.
///
- virtual GenericValue run(Function *F,
- const std::vector<GenericValue> &ArgValues);
+ virtual GenericValue runFunction(Function *F,
+ const std::vector<GenericValue> &ArgValues);
/// recompileAndRelinkFunction - For the interpreter, functions are always
/// up-to-date.