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

Method hash

cranelift/codegen/src/incremental_cache.rs:141–147  ·  view source on GitHub ↗
(&self, state: &mut H)

Source from the content-addressed store, hash-verified

139
140impl<'a> Hash for CacheKey<'a> {
141 fn hash<H: Hasher>(&self, state: &mut H) {
142 self.stencil.hash(state);
143 self.isa.name().hash(state);
144 self.isa.triple().hash(state);
145 self.isa.flags().hash(state);
146 self.isa.isa_flags_hash_key().hash(state);
147 }
148}
149
150impl<'a> CacheKey<'a> {

Callers 1

compute_cache_keyFunction · 0.45

Calls 4

nameMethod · 0.45
tripleMethod · 0.45
flagsMethod · 0.45
isa_flags_hash_keyMethod · 0.45

Tested by

no test coverage detected