Remove reloc_block

It isn't called and all reloc sinks either ignore it or panic when it is
called.
This commit is contained in:
bjorn3
2020-11-11 12:25:36 +01:00
parent 1dc27c93a4
commit b7a93c2321
14 changed files with 0 additions and 75 deletions

View File

@@ -114,15 +114,6 @@ struct RelocSink {
}
impl binemit::RelocSink for RelocSink {
fn reloc_block(
&mut self,
_offset: binemit::CodeOffset,
_reloc: binemit::Reloc,
_block_offset: binemit::CodeOffset,
) {
// This should use the `offsets` field of `ir::Function`.
panic!("block headers not yet implemented");
}
fn reloc_external(
&mut self,
offset: binemit::CodeOffset,