rustc_
mir_
transform
1.84.0-beta.4
(202008a1b 2024-12-07)
Module cost_
checker
Module Items
Structs
Constants
In crate rustc_
mir_
transform
rustc_mir_transform
Module
cost_checker
Copy item path
Source
Structs
ยง
Cost
Checker
๐
Verify that the callee body is compatible with the caller.
Constants
ยง
CALL_
PENALTY
๐
CONST_
SWITCH_
BONUS
๐
INSTR_
COST
๐
LANDINGPAD_
PENALTY
๐
LARGE_
SWITCH_
PENALTY
๐
RESUME_
PENALTY
๐