pub fn constant_value(constant: &Constant) -> Option<Value>
Converts constants that need no runtime identity to ABI values. Strings and bigints are materialized by LoadConst in the machine’s slot heap.
LoadConst