Add 'xo-jit/' from commit '855887df71'
git-subtree-dir: xo-jit git-subtree-mainline:35555df976git-subtree-split:855887df71
This commit is contained in:
commit
757dfed99c
49 changed files with 7305 additions and 0 deletions
20
xo-jit/src/jit/LlvmContext.cpp
Normal file
20
xo-jit/src/jit/LlvmContext.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* @file LlvmContext.cpp */
|
||||
|
||||
#include "LlvmContext.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace jit {
|
||||
rp<LlvmContext>
|
||||
LlvmContext::make() {
|
||||
return new LlvmContext();
|
||||
}
|
||||
|
||||
LlvmContext::LlvmContext()
|
||||
: llvm_cx_{std::make_unique<llvm::LLVMContext>()}
|
||||
{}
|
||||
|
||||
} /*namespace jit*/
|
||||
} /*namespace xo*/
|
||||
|
||||
|
||||
/* end LlvmContext.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue