Implement reloc_names() for all targets.

This gets rid of the last TargetIsa method with a default
implementation.
This commit is contained in:
Jakob Stoklund Olesen
2017-05-11 17:58:11 -07:00
parent c713ea8c57
commit 6fd95c1158
5 changed files with 13 additions and 3 deletions

View File

@@ -210,7 +210,5 @@ pub trait TargetIsa {
///
/// This array can be indexed by the contents of `binemit::Reloc` objects passed to a
/// `CodeSink`.
fn reloc_names(&self) -> &'static [&'static str] {
unimplemented!()
}
fn reloc_names(&self) -> &'static [&'static str];
}