rustc_
mir_
transform
1.85.0-nightly
(5f23ef7d3 2024-12-20)
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
๐