diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-17 16:48:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-17 16:48:44 +0000 |
commit | d24df24527855232e7fc36440c35332313774f24 (patch) | |
tree | d36c2b7d59248b5742103f6da1d108d1ad26d961 /llvm/examples/HowToUseJIT/HowToUseJIT.cpp | |
parent | f44da17824e6d539353cfcb15ec75d677a1494ba (diff) | |
download | bcm5719-llvm-d24df24527855232e7fc36440c35332313774f24.tar.gz bcm5719-llvm-d24df24527855232e7fc36440c35332313774f24.zip |
make sure that JIT examples link in their appropriate target.
llvm-svn: 73613
Diffstat (limited to 'llvm/examples/HowToUseJIT/HowToUseJIT.cpp')
-rw-r--r-- | llvm/examples/HowToUseJIT/HowToUseJIT.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp index b5c6d111914..a9f10009e1e 100644 --- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp +++ b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp @@ -42,11 +42,15 @@ #include "llvm/ExecutionEngine/JIT.h" #include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/ExecutionEngine/GenericValue.h" +#include "llvm/Target/TargetSelect.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/raw_ostream.h" using namespace llvm; int main() { + + InitializeNativeTarget(); + // Create some module to put our function into it. Module *M = new Module("test"); |