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

Class SourceLoc

cranelift/codegen/src/ir/sourceloc.rs:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
18#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
19pub struct SourceLoc(u32);
20
21impl SourceLoc {
22 /// Create a new source location with the given bits.

Callers 1

scan_srclocMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected