MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / mark_all

Method mark_all

compiler/src/modules/vm/cache.rs:267–274  ·  view source on GitHub ↗
(&self, heap: &mut super::types::HeapPool)

Source from the content-addressed store, hash-verified

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. */

Callers 1

collectMethod · 0.80

Calls 1

markMethod · 0.80

Tested by

no test coverage detected