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

Method as_fisa

cranelift/reader/src/lib.rs:40–45  ·  view source on GitHub ↗

Produce a FlagsOrIsa reference.

(&self)

Source from the content-addressed store, hash-verified

38impl OwnedFlagsOrIsa {
39 /// Produce a FlagsOrIsa reference.
40 pub fn as_fisa(&self) -> FlagsOrIsa<'_> {
41 match *self {
42 Self::Flags(ref flags) => FlagsOrIsa::from(flags),
43 Self::Isa(ref isa) => FlagsOrIsa::from(&**isa),
44 }
45 }
46}
47
48/// Parse "set" and "triple" commands.

Callers 3

runFunction · 0.80
runFunction · 0.80
runFunction · 0.80

Calls 1

fromFunction · 0.85

Tested by

no test coverage detected