(desc: &FrameStateSlot<'_>, shape: FrameStackShape)
| 624 | } |
| 625 | |
| 626 | fn describe_stack_shape(desc: &FrameStateSlot<'_>, shape: FrameStackShape) -> String { |
| 627 | let mut parts = vec![]; |
| 628 | for (offset, ty) in desc.stack(shape) { |
| 629 | parts.push(format!("{ty:?} @ slot+0x{:x}", offset.offset())); |
| 630 | } |
| 631 | parts.reverse(); |
| 632 | parts.join(", ") |
| 633 | } |
| 634 | } |