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

Method eq

cranelift/codegen/src/ir/layout.rs:610–614  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

608
609impl PartialEq for InstNode {
610 fn eq(&self, other: &Self) -> bool {
611 // Ignore the sequence number as it is an optimization used by pp_cmp and may be different
612 // even for equivalent layouts.
613 self.block == other.block && self.prev == other.prev && self.next == other.next
614 }
615}
616
617impl core::hash::Hash for InstNode {

Callers 2

ctx_eqMethod · 0.45
ctx_eqMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected