Rename TargetIsa's emit_function to emit_function_to_memory.

This reflects the fact that it takes a concrete `MemoryCodeSink` rather than
a `CodeSink` trait object.
This commit is contained in:
Dan Gohman
2018-06-21 15:50:29 -07:00
parent 603bb4ac02
commit d209137149
6 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ impl TargetIsa for Isa {
binemit::emit_inst(func, inst, divert, sink)
}
fn emit_function(&self, func: &ir::Function, sink: &mut MemoryCodeSink) {
fn emit_function_to_memory(&self, func: &ir::Function, sink: &mut MemoryCodeSink) {
emit_function(func, binemit::emit_inst, sink)
}
}