(&self, heap: &mut super::types::HeapPool)
| 265 | } |
| 266 | |
| 267 | pub fn mark_all(&self, heap: &mut super::types::HeapPool) { |
| 268 | for slot in &self.slots { |
| 269 | for e in slot { |
| 270 | for &v in &e.args { heap.mark(v); } |
| 271 | heap.mark(e.result); |
| 272 | } |
| 273 | } |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | /* Fuse adjacent LoadAttr+Call(0) into CallMethod+CallMethodArgs; only safe when Call has no args. */ |