Change reloc_ebb to pass a CodeOffset rather than an Ebb index.

This commit is contained in:
Dan Gohman
2017-10-31 12:18:17 -07:00
parent 5d063eb8bc
commit 871bf95acf
4 changed files with 14 additions and 9 deletions

View File

@@ -97,7 +97,7 @@ impl binemit::CodeSink for SizeSink {
self.offset += 8;
}
fn reloc_ebb(&mut self, _reloc: binemit::Reloc, _ebb: ir::Ebb) {}
fn reloc_ebb(&mut self, _reloc: binemit::Reloc, _ebb_offset: binemit::CodeOffset) {}
fn reloc_external(&mut self, _reloc: binemit::Reloc, _name: &ir::ExternalName) {}
fn reloc_jt(&mut self, _reloc: binemit::Reloc, _jt: ir::JumpTable) {}
}