diff options
author | Lang Hames <lhames@gmail.com> | 2016-05-07 03:36:38 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-05-07 03:36:38 +0000 |
commit | c14b8e97039064cc7d3c9142d48d2bfd346a08d8 (patch) | |
tree | 5aa47954bdec4735e4a63d4fd2add83361ca4d0a /examples | |
parent | cc8923b4e4a0ccdf4867c8517031d09c7e41be74 (diff) |
[Orc] Rename OrcArchitectureSupport to OrcABISupport and add Win32 ABI support.
This enables lazy JITing on Windows x86-64.
Patch by David. Thanks David!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Kaleidoscope/Orc/fully_lazy/toy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp b/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp index 2b90620a207..5e448b9196a 100644 --- a/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp +++ b/examples/Kaleidoscope/Orc/fully_lazy/toy.cpp @@ -4,7 +4,7 @@ #include "llvm/ExecutionEngine/Orc/LambdaResolver.h" #include "llvm/ExecutionEngine/Orc/LazyEmittingLayer.h" #include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h" -#include "llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h" +#include "llvm/ExecutionEngine/Orc/OrcABISupport.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/IRBuilder.h" @@ -1309,7 +1309,7 @@ private: std::map<std::string, std::unique_ptr<FunctionAST>> FunctionDefs; - LocalJITCompileCallbackManager<OrcX86_64> CompileCallbacks; + LocalJITCompileCallbackManager<OrcX86_64_SysV> CompileCallbacks; }; static void HandleDefinition(SessionContext &S, KaleidoscopeJIT &J) { |