Returns the continuation label of the current control stack frame.
(&self)
| 612 | |
| 613 | /// Returns the continuation label of the current control stack frame. |
| 614 | pub fn label(&self) -> &MachLabel { |
| 615 | use ControlStackFrame::*; |
| 616 | |
| 617 | match self { |
| 618 | If { exit, .. } | Else { exit, .. } | Block { exit, .. } => exit, |
| 619 | Loop { head, .. } => head, |
| 620 | } |
| 621 | } |
| 622 | |
| 623 | /// Returns the exit label of the current control stack frame. Note that |
| 624 | /// this is similar to [`ControlStackFrame::label`], with the only difference that it |
no outgoing calls
no test coverage detected