diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-22 06:07:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-22 06:07:50 +0000 |
commit | 2d52c1b8b9cda559f86a29ba1c8967ce7f768700 (patch) | |
tree | 89fb8d119dfaebd2afdfab1d283bcc458399a7b1 /llvm/lib/ExecutionEngine/JIT/JIT.h | |
parent | d3a3365904fa73ceb1a48add7e168366a861c124 (diff) | |
download | bcm5719-llvm-2d52c1b8b9cda559f86a29ba1c8967ce7f768700.tar.gz bcm5719-llvm-2d52c1b8b9cda559f86a29ba1c8967ce7f768700.zip |
Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries.
Now you can build a tool with just the JIT or just the interpreter.
llvm-svn: 26946
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.h b/llvm/lib/ExecutionEngine/JIT/JIT.h index 4cce144712f..979cdc6c8e3 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.h +++ b/llvm/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; } |