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

Method ensure_fused

compiler/src/modules/vm/cache.rs:58–63  ·  view source on GitHub ↗

Compile the fused instruction stream on first access; reuse afterwards. */

(&mut self, chunk: &SSAChunk)

Source from the content-addressed store, hash-verified

56
57 /* Compile the fused instruction stream on first access; reuse afterwards. */
58 pub fn ensure_fused(&mut self, chunk: &SSAChunk) -> &[Instruction] {
59 if self.fused.is_none() {
60 self.fused = Some(fuse_method_calls(chunk));
61 }
62 self.fused.as_ref().unwrap()
63 }
64
65 /* Direct access (caller must have called ensure_fused). */
66 pub fn fused_ref(&self) -> &[Instruction] {

Callers 1

execMethod · 0.80

Calls 2

fuse_method_callsFunction · 0.85
is_noneMethod · 0.80

Tested by

no test coverage detected