Remove unused CodeSink methods

This commit is contained in:
bjorn3
2022-01-11 14:45:21 +01:00
parent 88baac4ca6
commit 354c4f7bf8
4 changed files with 4 additions and 60 deletions

View File

@@ -81,26 +81,10 @@ struct SizeSink {
}
impl binemit::CodeSink for SizeSink {
fn offset(&self) -> binemit::CodeOffset {
self.offset
}
fn put1(&mut self, _: u8) {
self.offset += 1;
}
fn put2(&mut self, _: u16) {
self.offset += 2;
}
fn put4(&mut self, _: u32) {
self.offset += 4;
}
fn put8(&mut self, _: u64) {
self.offset += 8;
}
fn reloc_external(
&mut self,
_srcloc: ir::SourceLoc,