Indicate that a constant should be emitted.
(&mut self, constant: VCodeConstantData)
| 1702 | |
| 1703 | /// Indicate that a constant should be emitted. |
| 1704 | pub fn use_constant(&mut self, constant: VCodeConstantData) -> VCodeConstant { |
| 1705 | self.vcode.constants().insert(constant) |
| 1706 | } |
| 1707 | } |
| 1708 | |
| 1709 | #[cfg(test)] |
no test coverage detected