Remove reloc_constant

It is no longer used by the new backends
This commit is contained in:
bjorn3
2021-10-10 14:43:49 +02:00
parent 855ba39217
commit d78f436daf
10 changed files with 2 additions and 89 deletions

View File

@@ -734,16 +734,4 @@ impl RelocSink for ObjectRelocSink {
name: name.clone(),
})
}
fn reloc_constant(&mut self, _offset: CodeOffset, reloc: Reloc, _jt: ir::ConstantOffset) {
match reloc {
Reloc::X86PCRelRodata4 => {
// Not necessary to record this unless we are going to split apart code and its
// jumptbl/rodata.
}
_ => {
panic!("Unhandled reloc");
}
}
}
}