Get the instruction where the value was defined, if any.
(&self)
| 662 | |
| 663 | /// Get the instruction where the value was defined, if any. |
| 664 | pub fn inst(&self) -> Option<Inst> { |
| 665 | match *self { |
| 666 | Self::Result(inst, _) => Some(inst), |
| 667 | _ => None, |
| 668 | } |
| 669 | } |
| 670 | |
| 671 | /// Unwrap the block there the parameter is defined, or panic. |
| 672 | pub fn unwrap_block(&self) -> Block { |
no outgoing calls
no test coverage detected