IR generation #3

Merged
CHatingPython merged 15 commits from irgen into master 2026-06-01 21:27:39 +00:00
Showing only changes of commit de49674f81 - Show all commits
+1
View File
@@ -56,6 +56,7 @@ void ir_generator::visit(const ast::if_statement_node& node) {
push_block(); // else block
node.elze()->accept(*this);
}
m_currentBlock->emplace<ir::branch_instruction>(m_currentFunction->blocks().size());
push_block(); // merge block
}