From 7e1f3c8cb502919aa36216139a3f54dccb86be12 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 25 Jun 2024 11:14:22 -0400 Subject: [PATCH] xo-jit: cosmetic -- code layout --- src/jit/MachPipeline.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/jit/MachPipeline.cpp b/src/jit/MachPipeline.cpp index 5f13c371..5228cc09 100644 --- a/src/jit/MachPipeline.cpp +++ b/src/jit/MachPipeline.cpp @@ -97,6 +97,11 @@ namespace xo { ir_pipeline_ = new IrPipeline(llvm_cx_); } /*recreate_llvm_ir_pipeline*/ + const DataLayout & + MachPipeline::data_layout() const { + return this->jit_->data_layout(); + } + const ExecutionSession * MachPipeline::xsession() const { return this->jit_->xsession(); @@ -113,11 +118,6 @@ namespace xo { return this->jit_->target_triple(); } - const DataLayout & - MachPipeline::data_layout() const { - return this->jit_->data_layout(); - } - std::vector MachPipeline::get_function_name_v() { std::vector retval; @@ -242,7 +242,7 @@ namespace xo { llvm_membertype_v.push_back(td_to_llvm_type(llvm_cx, sm.get_member_td())); - } + } std::string struct_name = std::string(struct_td->short_name());