Add text_section_builder method to TargetIsa

This commit is contained in:
bjorn3
2022-01-04 19:41:42 +01:00
parent 03dc74d8e7
commit 58c25d9e24
3 changed files with 16 additions and 2 deletions

View File

@@ -86,4 +86,8 @@ impl TargetIsa for TargetIsaAdapter {
fn map_regalloc_reg_to_dwarf(&self, r: Reg) -> Result<u16, RegisterMappingError> {
self.backend.map_reg_to_dwarf(r)
}
fn text_section_builder(&self, num_labeled_funcs: u32) -> Box<dyn TextSectionBuilder> {
self.backend.text_section_builder(num_labeled_funcs)
}
}