Pops a control frame from the control frame stack.
(&mut self)
| 255 | |
| 256 | /// Pops a control frame from the control frame stack. |
| 257 | pub fn pop_control_frame(&mut self) -> Result<ControlStackFrame> { |
| 258 | self.control_frames |
| 259 | .pop() |
| 260 | .ok_or_else(|| format_err!(CodeGenError::control_frame_expected())) |
| 261 | } |
| 262 | |
| 263 | /// Derives a [RelSourceLoc] from a [SourceLoc]. |
| 264 | pub fn source_loc_from(&mut self, loc: SourceLoc) -> RelSourceLoc { |
no test coverage detected