(&self, cv: Self::Value, _align: Align, _kind: Option<&str>)
| 322 | |
| 323 | impl<'tcx> StaticMethods for CodegenCx<'tcx> { |
| 324 | fn static_addr_of(&self, cv: Self::Value, _align: Align, _kind: Option<&str>) -> Self::Value { |
| 325 | self.def_constant( |
| 326 | self.type_ptr_to(cv.ty), |
| 327 | SpirvConst::PtrTo { |
| 328 | pointee: cv.def_cx(self), |
| 329 | }, |
| 330 | ) |
| 331 | } |
| 332 | |
| 333 | fn codegen_static(&self, def_id: DefId, _is_mutable: bool) { |
| 334 | let g = self.get_static(def_id); |
no test coverage detected