refactor(IR)!: change IR block structure

It now requires an exit instruction.
This commit is contained in:
2026-06-01 18:27:36 +02:00
parent de49674f81
commit 62619cd0bc
5 changed files with 45 additions and 11 deletions
+1
View File
@@ -39,6 +39,7 @@ int main(void) {
for (const auto& instruction : block->instructions()) {
std::cout << " " << *instruction << '\n';
}
std::cout << " " << *block->exit() << '\n';
}
}