MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / fmt

Method fmt

src/function.rs:306–312  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

304
305impl fmt::Display for OperandConstraint {
306 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
307 match self {
308 Self::Class(rc) => write!(f, "{rc}"),
309 Self::Fixed(reg) => write!(f, "{reg}"),
310 Self::Reuse(idx) => write!(f, "reuse({idx})"),
311 }
312 }
313}
314
315/// Information about an operand in an instruction.

Callers

nothing calls this directly

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected