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

@@ -205,7 +205,6 @@ impl<'a> ObjectBuilder<'a> {
systemv_unwind_info: Vec::new(),
relocations: Vec::new(),
text: isa
.get_mach_backend()
.text_section_builder((module.functions.len() - module.num_imported_funcs) as u32),
added_unwind_info: false,
}