aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/JIT/JIT.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-22 06:07:50 +0000
committerChris Lattner <sabre@nondot.org>2006-03-22 06:07:50 +0000
commit2fe4bb06c6c40d16b7a5ae9cdf6bb6fe94d51be0 (patch)
tree9aa1af4b15d5ac30cf9d801c52a0ddf1e018369f /lib/ExecutionEngine/JIT/JIT.h
parent765c93cefda367d8e5a8e0afcd610a7e15bbd987 (diff)
downloadexternal_llvm-2fe4bb06c6c40d16b7a5ae9cdf6bb6fe94d51be0.zip
external_llvm-2fe4bb06c6c40d16b7a5ae9cdf6bb6fe94d51be0.tar.gz
external_llvm-2fe4bb06c6c40d16b7a5ae9cdf6bb6fe94d51be0.tar.bz2
Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries.
Now you can build a tool with just the JIT or just the interpreter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r--lib/ExecutionEngine/JIT/JIT.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JIT.h b/lib/ExecutionEngine/JIT/JIT.h
index 4cce144..979cdc6 100644
--- a/lib/ExecutionEngine/JIT/JIT.h
+++ b/lib/ExecutionEngine/JIT/JIT.h
@@ -60,6 +60,10 @@ class JIT : public ExecutionEngine {
public:
~JIT();
+ static void Register() {
+ JITCtor = create;
+ }
+
/// getJITInfo - Return the target JIT information structure.
///
TargetJITInfo &getJITInfo() const { return TJI; }