Resolve a reference to a dynamic stack slot.
(&self, dss: DynamicStackSlot, loc: Location)
| 286 | |
| 287 | // Resolve a reference to a dynamic stack slot. |
| 288 | fn check_dss(&self, dss: DynamicStackSlot, loc: Location) -> ParseResult<()> { |
| 289 | if !self.map.contains_dss(dss) { |
| 290 | err!(loc, "undefined dynamic stack slot {}", dss) |
| 291 | } else { |
| 292 | Ok(()) |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | // Allocate a new dynamic type. |
| 297 | fn add_dt(&mut self, dt: DynamicType, data: DynamicTypeData, loc: Location) -> ParseResult<()> { |
no test coverage detected