Give the range of engine-code PCs in this code.
(&self)
| 160 | |
| 161 | /// Give the range of engine-code PCs in this code. |
| 162 | pub fn text_range(&self) -> Range<EngineCodePC> { |
| 163 | let raw = self.original_code.raw_addr_range(); |
| 164 | EngineCodePC(raw.start)..EngineCodePC(raw.end) |
| 165 | } |
| 166 | |
| 167 | // For all accessors to code object sections below: we can use the |
| 168 | // original (uncloned) code image for these: they are just slices |