Remove trap from CodeSink
And introduce MachBufferFinalized::traps() in the place.
This commit is contained in:
@@ -93,7 +93,6 @@ impl binemit::CodeSink for SizeSink {
|
||||
_addend: binemit::Addend,
|
||||
) {
|
||||
}
|
||||
fn trap(&mut self, _code: ir::TrapCode, _srcloc: ir::SourceLoc) {}
|
||||
}
|
||||
|
||||
fn check_precise_output(text: &str, context: &Context) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user