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

Method u64_bswap64

cranelift/codegen/src/opts.rs:339–341  ·  view source on GitHub ↗
(&mut self, n: u64)

Source from the content-addressed store, hash-verified

337 }
338
339 fn u64_bswap64(&mut self, n: u64) -> u64 {
340 n.swap_bytes()
341 }
342
343 fn ieee128_constant_extractor(&mut self, n: Constant) -> Option<Ieee128> {
344 self.ctx.func.dfg.constants.get(n).try_into().ok()

Callers

nothing calls this directly

Calls 1

swap_bytesMethod · 0.45

Tested by

no test coverage detected