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

Method size

winch/codegen/src/masm.rs:1208–1214  ·  view source on GitHub ↗

Get the operand size of the immediate.

(&self)

Source from the content-addressed store, hash-verified

1206
1207 /// Get the operand size of the immediate.
1208 pub fn size(&self) -> OperandSize {
1209 match self {
1210 Self::I32(_) | Self::F32(_) => OperandSize::S32,
1211 Self::I64(_) | Self::F64(_) => OperandSize::S64,
1212 Self::V128(_) => OperandSize::S128,
1213 }
1214 }
1215
1216 /// Get a little endian representation of the immediate.
1217 ///

Callers 15

executeMethod · 0.45
visit_br_ifMethod · 0.45
newMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
deserializeFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected