MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / gen_stack_addr

Method gen_stack_addr

cranelift/codegen/src/isa/riscv64/lower/isle.rs:580–588  ·  view source on GitHub ↗
(&mut self, slot: StackSlot, offset: Offset32)

Source from the content-addressed store, hash-verified

578 }
579
580 fn gen_stack_addr(&mut self, slot: StackSlot, offset: Offset32) -> Reg {
581 let result = self.temp_writable_reg(I64);
582 let i = self
583 .lower_ctx
584 .abi()
585 .sized_stackslot_addr(slot, i64::from(offset) as u32, result);
586 self.emit(&i);
587 result.to_reg()
588 }
589 fn atomic_amo(&mut self) -> AMO {
590 AMO::SeqCst
591 }

Callers

nothing calls this directly

Calls 5

fromFunction · 0.85
sized_stackslot_addrMethod · 0.80
to_regMethod · 0.80
abiMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected