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

Method encode

cranelift/assembler-x64/src/imm.rs:41–43  ·  view source on GitHub ↗
(&self, sink: &mut impl CodeSink)

Source from the content-addressed store, hash-verified

39 }
40
41 pub fn encode(&self, sink: &mut impl CodeSink) {
42 sink.put1(self.0);
43 }
44}
45
46impl From<u8> for Imm8 {

Callers

nothing calls this directly

Calls 4

put1Method · 0.45
put2Method · 0.45
put4Method · 0.45
put8Method · 0.45

Tested by

no test coverage detected