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

Method is_cold

cranelift/codegen/src/machinst/blockorder.rs:334–336  ·  view source on GitHub ↗

Determine whether the given lowered-block index is cold.

(&self, block: BlockIndex)

Source from the content-addressed store, hash-verified

332
333 /// Determine whether the given lowered-block index is cold.
334 pub fn is_cold(&self, block: BlockIndex) -> bool {
335 self.cold_blocks.contains(&block)
336 }
337
338 /// Determine whether the given lowered block index is an indirect branch
339 /// target.

Callers 2

newMethod · 0.45
emitMethod · 0.45

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected