Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
impl From<u8> for Imm8 {
Callers
nothing calls this directly
Calls
4
put1
Method · 0.45
put2
Method · 0.45
put4
Method · 0.45
put8
Method · 0.45
Tested by
no test coverage detected