Declares a global value accessible to the function.
(&mut self, data: GlobalValueData)
| 254 | |
| 255 | /// Declares a global value accessible to the function. |
| 256 | pub fn create_global_value(&mut self, data: GlobalValueData) -> GlobalValue { |
| 257 | self.global_values.push(data) |
| 258 | } |
| 259 | |
| 260 | /// Find the global dyn_scale value associated with given DynamicType. |
| 261 | pub fn get_dyn_scale(&self, ty: DynamicType) -> GlobalValue { |