cranelift: Port trap and resumable_trap lowering to ISLE on x64

This commit is contained in:
Nick Fitzgerald
2022-01-13 15:39:41 -08:00
parent 5bb3645bd4
commit 658c5d33c1
9 changed files with 299 additions and 185 deletions

View File

@@ -48,6 +48,11 @@ macro_rules! isle_prelude_methods {
ValueRegs::two(r1, r2)
}
#[inline]
fn value_regs_invalid(&mut self) -> ValueRegs {
ValueRegs::invalid()
}
#[inline]
fn temp_writable_reg(&mut self, ty: Type) -> WritableReg {
let value_regs = self.lower_ctx.alloc_tmp(ty);