Find the global dyn_scale value associated with given DynamicType.
(&self, ty: DynamicType)
| 259 | |
| 260 | /// Find the global dyn_scale value associated with given DynamicType. |
| 261 | pub fn get_dyn_scale(&self, ty: DynamicType) -> GlobalValue { |
| 262 | self.dfg.dynamic_types.get(ty).unwrap().dynamic_scale |
| 263 | } |
| 264 | |
| 265 | /// Find the global dyn_scale for the given stack slot. |
| 266 | pub fn get_dynamic_slot_scale(&self, dss: DynamicStackSlot) -> GlobalValue { |
no test coverage detected