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

Method call2

pulley/src/interp.rs:1368–1375  ·  view source on GitHub ↗
(&mut self, arg1: XReg, arg2: XReg, offset: PcRelOffset)

Source from the content-addressed store, hash-verified

1366 }
1367
1368 fn call2(&mut self, arg1: XReg, arg2: XReg, offset: PcRelOffset) -> ControlFlow<Done> {
1369 let return_addr = self.pc.as_ptr();
1370 self.state.lr = return_addr.as_ptr();
1371 let (x0, x1) = (self.state[arg1], self.state[arg2]);
1372 self.state[XReg::x0] = x0;
1373 self.state[XReg::x1] = x1;
1374 self.pc_rel_jump::<crate::Call2>(offset)
1375 }
1376
1377 fn call3(
1378 &mut self,

Callers

nothing calls this directly

Calls 1

as_ptrMethod · 0.45

Tested by

no test coverage detected