machinst: Steal the used/defs Sets when emitting a call in ABICall;

This commit is contained in:
Benjamin Bouvier
2020-05-06 19:10:24 +02:00
parent 19d8a7f1fb
commit 528d3c1355
3 changed files with 8 additions and 4 deletions

View File

@@ -167,5 +167,5 @@ pub trait ABICall {
/// registers are also logically defs, but should never be read; their
/// values are "defined" (to the regalloc) but "undefined" in every other
/// sense.)
fn emit_call<C: LowerCtx<I = Self::I>>(&self, ctx: &mut C);
fn emit_call<C: LowerCtx<I = Self::I>>(&mut self, ctx: &mut C);
}