diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-02-20 10:07:41 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-02-20 10:07:41 +0000 |
commit | 5539d8d1c98f60d709eb36b7c64bf41a2d33129f (patch) | |
tree | 5a424db5b6551fafc14128d5378ea612fc50ffac /llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4 | |
parent | d4c7a12177d145aea18ba718aaa9d20b825c14ec (diff) | |
download | bcm5719-llvm-5539d8d1c98f60d709eb36b7c64bf41a2d33129f.tar.gz bcm5719-llvm-5539d8d1c98f60d709eb36b7c64bf41a2d33129f.zip |
llvm/examples/Kaleidoscope/BuildingAJIT: More fixup corresponding to r295636.
I missed updating them since I just ran check-llvm (with examples) in r295645.
llvm-svn: 295646
Diffstat (limited to 'llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4')
-rw-r--r-- | llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h index 527d4be09f0..e0a78410f71 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h @@ -24,7 +24,7 @@ #include "llvm/ExecutionEngine/Orc/IRCompileLayer.h" #include "llvm/ExecutionEngine/Orc/IRTransformLayer.h" #include "llvm/ExecutionEngine/Orc/LambdaResolver.h" -#include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" +#include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/IR/Mangler.h" @@ -73,7 +73,7 @@ class KaleidoscopeJIT { private: std::unique_ptr<TargetMachine> TM; const DataLayout DL; - ObjectLinkingLayer<> ObjectLayer; + RTDyldObjectLinkingLayer<> ObjectLayer; IRCompileLayer<decltype(ObjectLayer)> CompileLayer; typedef std::function<std::unique_ptr<Module>(std::unique_ptr<Module>)> |