xo-jit: + MachPipeline::data_layout()
This commit is contained in:
parent
72d0305cdb
commit
fcd87b52c0
2 changed files with 11 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ namespace xo {
|
|||
using xo::reflect::Reflect;
|
||||
using xo::reflect::StructMember;
|
||||
using xo::reflect::TypeDescr;
|
||||
using llvm::DataLayout;
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
||||
|
|
@ -106,6 +107,11 @@ namespace xo {
|
|||
return this->jit_->target_triple();
|
||||
}
|
||||
|
||||
const DataLayout &
|
||||
MachPipeline::data_layout() const {
|
||||
return this->jit_->data_layout();
|
||||
}
|
||||
|
||||
std::vector<std::string>
|
||||
MachPipeline::get_function_name_v() {
|
||||
std::vector<std::string> retval;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue