Get the type for an instruction's output.
(&self, ir_inst: Inst, idx: usize)
| 1462 | |
| 1463 | /// Get the type for an instruction's output. |
| 1464 | pub fn output_ty(&self, ir_inst: Inst, idx: usize) -> Type { |
| 1465 | self.f.dfg.value_type(self.f.dfg.inst_results(ir_inst)[idx]) |
| 1466 | } |
| 1467 | |
| 1468 | /// Get the value of a constant instruction (`iconst`, etc.) as a 64-bit |
| 1469 | /// value, if possible. |
no test coverage detected