Same as [`Self::pseudo`] but panics if wasn't called on [`Self::Pseudo`]. # Panics If was called on something else other than [`Self::Pseudo`].
(self)
| 1615 | /// |
| 1616 | /// If was called on something else other than [`Self::Pseudo`]. |
| 1617 | pub const fn expect_pseudo(self) -> PseudoInstruction { |
| 1618 | self.pseudo() |
| 1619 | .expect("Expected Instruction::Pseudo, found Instruction::Real") |
| 1620 | } |
| 1621 | |
| 1622 | /// Returns true if this is a block push pseudo instruction |
| 1623 | /// (SETUP_FINALLY, SETUP_CLEANUP, or SETUP_WITH). |