From 39a8e8aad4078ea7d5f011e870d91b010de801ef Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Wed, 19 Jun 2024 18:22:24 -0400 Subject: [PATCH] xo-jit: cosmetic: code layout / comments --- include/xo/jit/Jit.hpp | 2 +- src/jit/MachPipeline.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/xo/jit/Jit.hpp b/include/xo/jit/Jit.hpp index 6a160323..8cf15af6 100644 --- a/include/xo/jit/Jit.hpp +++ b/include/xo/jit/Jit.hpp @@ -142,7 +142,7 @@ namespace xo { } }; /*Jit*/ - } /*namespace jit&*/ + } /*namespace jit*/ } /*namespace xo*/ /** end Jit.hpp **/ diff --git a/src/jit/MachPipeline.cpp b/src/jit/MachPipeline.cpp index de881aca..d72de5a1 100644 --- a/src/jit/MachPipeline.cpp +++ b/src/jit/MachPipeline.cpp @@ -465,8 +465,7 @@ namespace xo { { llvm::Value * test_ir = this->codegen(expr->test()); - /** need test result in a variable - **/ + /** need test result in a variable **/ llvm::Value * test_with_cmp_ir = llvm_ir_builder_->CreateFCmpONE(test_ir, llvm::ConstantFP::get(llvm_cx_->llvm_cx_ref(), @@ -538,7 +537,7 @@ namespace xo { phi_node->addIncoming(when_false_ir, when_false_bb); return phi_node; - } + } /*codegen_ifexpr*/ llvm::Value * MachPipeline::codegen(ref::brw expr) @@ -597,7 +596,8 @@ namespace xo { llvm_exit_on_err(this->jit_->add_llvm_module(std::move(ts_module), tracker)); this->recreate_llvm_ir_pipeline(); - } + } /*machgen_current_module*/ + std::string MachPipeline::mangle(const std::string & sym) const {