diff --git a/include/xo/jit/MachPipeline.hpp b/include/xo/jit/MachPipeline.hpp index 4ffc029c..8deede36 100644 --- a/include/xo/jit/MachPipeline.hpp +++ b/include/xo/jit/MachPipeline.hpp @@ -131,10 +131,9 @@ namespace xo { * each with its own LLVMContext **/ ref::rp llvm_cx_; - //std::unique_ptr llvm_cx_; /** builder for intermediate-representation objects **/ std::unique_ptr> llvm_ir_builder_; - /** a module (1:1 with library) being prepared by llvm. + /** a module (1:1 with library ?) being prepared by llvm. * IR-level -- does not contain machine code * * - function names are unique within a module. @@ -144,7 +143,7 @@ namespace xo { /** map global names to functions/variables **/ std::map> global_env_; /** map variable names (formal parameters) to - * corresponding llvm interactor + * corresponding llvm IR. * * only supports one level atm (i.e. only top-level functions) **/ diff --git a/src/jit/MachPipeline.cpp b/src/jit/MachPipeline.cpp index e02e7316..02b27b00 100644 --- a/src/jit/MachPipeline.cpp +++ b/src/jit/MachPipeline.cpp @@ -45,9 +45,9 @@ namespace xo { static llvm::ExitOnError llvm_exit_on_err; - std::unique_ptr kal_jit = llvm_exit_on_err(Jit::Create()); + std::unique_ptr jit = llvm_exit_on_err(Jit::Create()); - return std::unique_ptr(new MachPipeline(std::move(kal_jit) + return std::unique_ptr(new MachPipeline(std::move(jit) )); } /*make*/