Implement function and type creation, add text to blog in compiler series

This commit is contained in:
2019-11-04 18:25:54 -08:00
parent 43b140285f
commit 81ee50d0d4
4 changed files with 214 additions and 11 deletions

View File

@@ -15,6 +15,7 @@ struct llvm_state {
std::map<std::string, llvm::StructType*> struct_types;
llvm::StructType* stack_type;
llvm::PointerType* stack_ptr_type;
llvm::PointerType* node_ptr_type;
llvm::IntegerType* tag_type;