FIXME(eddyb) change `Self::Function` to be more like a function index.
(
cx: &'a Self::CodegenCx,
llfn: Self::Function,
_name: &str,
)
| 741 | |
| 742 | // FIXME(eddyb) change `Self::Function` to be more like a function index. |
| 743 | fn append_block( |
| 744 | cx: &'a Self::CodegenCx, |
| 745 | llfn: Self::Function, |
| 746 | _name: &str, |
| 747 | ) -> Self::BasicBlock { |
| 748 | let cursor_fn = cx.builder.select_function_by_id(llfn.def_cx(cx)); |
| 749 | cx.emit_with_cursor(cursor_fn).begin_block(None).unwrap() |
| 750 | } |
| 751 | |
| 752 | fn append_sibling_block(&mut self, _name: &str) -> Self::BasicBlock { |
| 753 | self.emit_with_cursor(BuilderCursor { |
nothing calls this directly
no test coverage detected