xo-jit: TypeDescr->llvm::Type conv for structs

This commit is contained in:
Roland Conybeare 2024-06-24 22:18:59 -04:00
commit be6d7c2aab
4 changed files with 102 additions and 4 deletions

View file

@ -152,7 +152,6 @@ namespace xo {
// ----- this part adapted from kaleidoscope.cpp -----
public:
/** everything below represents a pipeline
* that takes expressions, and turns them into llvm IR.
*
@ -162,7 +161,6 @@ namespace xo {
**/
xo::ref::rp<IrPipeline> ir_pipeline_;
private:
/** owns + manages core "global" llvm data,
* including type- and constant- unique-ing tables.
*
@ -184,7 +182,6 @@ namespace xo {
/** map global names to functions/variables **/
std::map<std::string, xo::ref::rp<Expression>> global_env_;
public:
/** map variable names (formal parameters) to
* corresponding llvm IR.
*