add comment

This commit is contained in:
Jan-Mirko Otter 2023-05-07 11:02:17 +02:00
parent 00ce5e8fca
commit 35cdb28c84

View File

@ -1587,6 +1587,15 @@ fn terminate_block(&mut self) -> Bx::BasicBlock {
// } catch (...) {
// bar();
// }
//
// which creates an IR snippet like
//
// cs_terminate:
// %cs = catchswitch within none [%cp_terminate] unwind to caller
// cp_terminate:
// %cp = catchpad within %cs [null, i32 64, null]
// ...
llbb = Bx::append_block(self.cx, self.llfn, "cs_terminate");
let cp_llbb = Bx::append_block(self.cx, self.llfn, "cp_terminate");