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

Method encode

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

Source from the content-addressed store, hash-verified

158 /// or if the instruction uses 8-bit operands.
159 #[inline]
160 pub fn encode(&self, sink: &mut impl CodeSink) {
161 if self.byte != 0x40 || self.must_emit {
162 sink.put1(self.byte);
163 }
164 }
165}
166
167/// The displacement bytes used after the ModR/M and SIB bytes.

Callers 1

assembleFunction · 0.45

Calls 1

put1Method · 0.45

Tested by

no test coverage detected