Remove end_codegen method from CodeSink

This commit is contained in:
bjorn3
2022-01-11 14:51:27 +01:00
parent 354c4f7bf8
commit 37598ad170
5 changed files with 8 additions and 15 deletions

View File

@@ -114,9 +114,6 @@ pub trait CodeSink {
/// Add trap information for the current offset.
fn trap(&mut self, _: TrapCode, _: SourceLoc);
/// Read-only data output is complete, we're done.
fn end_codegen(&mut self);
/// Add a call site for a call with the given opcode, returning at the current offset.
fn add_call_site(&mut self, _: Opcode, _: SourceLoc) {
// Default implementation doesn't need to do anything.