Fix copy+pastos in debug messages.

This commit is contained in:
Dan Gohman
2018-10-03 22:42:54 -07:00
parent 2eb9ae45aa
commit bed073fac0

View File

@@ -34,13 +34,13 @@ impl binemit::RelocSink for PrintRelocs {
addend: binemit::Addend,
) {
if self.flag_print {
println!("reloc_ebb: {} {} {} at {}", r, name, addend, where_);
println!("reloc_external: {} {} {} at {}", r, name, addend, where_);
}
}
fn reloc_jt(&mut self, where_: binemit::CodeOffset, r: binemit::Reloc, jt: ir::JumpTable) {
if self.flag_print {
println!("reloc_ebb: {} {} at {}", r, jt, where_);
println!("reloc_jt: {} {} at {}", r, jt, where_);
}
}
}