Returns an absolute source location for the given instruction.
(&self, inst: Inst)
| 457 | |
| 458 | /// Returns an absolute source location for the given instruction. |
| 459 | pub fn srcloc(&self, inst: Inst) -> SourceLoc { |
| 460 | let base = self.params.base_srcloc(); |
| 461 | self.stencil.srclocs[inst].expand(base) |
| 462 | } |
| 463 | |
| 464 | /// Declare a user-defined external function import, to be referenced in `ExtFuncData::User` later. |
| 465 | pub fn declare_imported_user_function( |
no test coverage detected