Pop an fblock = compiler_pop_fblock
(&mut self, _expected_type: FBlockType)
| 1493 | /// Pop an fblock |
| 1494 | // = compiler_pop_fblock |
| 1495 | fn pop_fblock(&mut self, _expected_type: FBlockType) -> FBlockInfo { |
| 1496 | let code = self.current_code_info(); |
| 1497 | // TODO: Add assertion to check expected type matches |
| 1498 | // assert!(matches!(fblock.fb_type, expected_type)); |
| 1499 | code.fblock.pop().expect("fblock stack underflow") |
| 1500 | } |
| 1501 | |
| 1502 | /// Unwind a single fblock, emitting cleanup code |
| 1503 | /// preserve_tos: if true, preserve the top of stack (e.g., return value) |
no test coverage detected