aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/JIT/JIT.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-26 06:13:47 +0000
committerChris Lattner <sabre@nondot.org>2003-12-26 06:13:47 +0000
commitff0f1bb32a439cf82cb09ee29544c894a2bfe877 (patch)
treef681403fb0cf5080b4013e2625f286aec817fae1 /lib/ExecutionEngine/JIT/JIT.h
parent2cab55d7e1bde83cd5f5dccee9a331ada8c1a67c (diff)
downloadexternal_llvm-ff0f1bb32a439cf82cb09ee29544c894a2bfe877.tar.gz
external_llvm-ff0f1bb32a439cf82cb09ee29544c894a2bfe877.tar.bz2
external_llvm-ff0f1bb32a439cf82cb09ee29544c894a2bfe877.zip
No longer run atExit functions from run()
rename run to runFunction Genericize the runFunction code a little bit, though it still stinks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r--lib/ExecutionEngine/JIT/JIT.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h
index 76d2b7a917..53e8738bb8 100644
--- a/lib/ExecutionEngine/JIT/JIT.h
+++ b/lib/ExecutionEngine/JIT/JIT.h
@@ -50,8 +50,8 @@ public:
/// 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);
/// getPointerToNamedFunction - This method returns the address of the
/// specified function by using the dlsym function call. As such it is only
@@ -64,11 +64,6 @@ public:
//
static void CompilationCallback();
- /// runAtExitHandlers - Before exiting the program, at_exit functions must be
- /// called. This method calls them.
- ///
- static void runAtExitHandlers();
-
/// getPointerToFunction - This returns the address of the specified function,
/// compiling it if necessary.
///