refactor(IR)!: change IR block structure
It now requires an exit instruction.
This commit is contained in:
@@ -39,6 +39,7 @@ int main(void) {
|
||||
for (const auto& instruction : block->instructions()) {
|
||||
std::cout << " " << *instruction << '\n';
|
||||
}
|
||||
std::cout << " " << *block->exit() << '\n';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user