write all functions

This commit is contained in:
2024-08-24 01:28:40 +00:00
parent 8781d58776
commit 2168e402d3
3 changed files with 186 additions and 5 deletions

View File

@ -336,6 +336,7 @@ class PhiItem : public ActionItem {
}
};
class SelectItem : public ActionItem {
friend class IRBuilder;
std::string result_full;
std::string cond_full;
std::string true_val_full;
@ -449,6 +450,7 @@ class FunctionDeclareItem : public LLVMIRItemBase {
}
};
class ConstStrItem : public LLVMIRItemBase {
friend std::shared_ptr<ModuleItem> BuildIR(std::shared_ptr<Program_ASTNode> src);
friend class IRBuilder;
std::string string_raw;
size_t const_str_id;