Refactor usage of SecondaryMap impls (serde, PartialEq)

This commit is contained in:
Artur Jamro
2019-08-22 10:09:40 -07:00
committed by Dan Gohman
parent bb0a443747
commit fad70eb8bb
19 changed files with 65 additions and 290 deletions

View File

@@ -254,6 +254,14 @@ impl binemit::RelocSink for RelocSink {
) {
panic!("trampoline compilation should not produce external symbol relocs");
}
fn reloc_constant(
&mut self,
_code_offset: binemit::CodeOffset,
_reloc: binemit::Reloc,
_constant_offset: ir::ConstantOffset,
) {
panic!("trampoline compilation should not produce constant relocs");
}
fn reloc_jt(
&mut self,
_offset: binemit::CodeOffset,