Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ set_cold_block
Method
set_cold_block
cranelift/reader/src/parser.rs:438–440 ·
view source on GitHub ↗
Set a block as cold.
(&mut self, block: Block)
Source
from the content-addressed store, hash-verified
436
437
/// Set a block as cold.
438
fn set_cold_block(&mut self, block: Block) {
439
self.function.layout.set_cold(block);
440
}
441
}
442
443
impl<
'a> Parser<'
a> {
Callers
1
parse_basic_block
Method · 0.45
Calls
1
set_cold
Method · 0.80
Tested by
no test coverage detected