MCPcopy Create free account
hub / github.com/argumentcomputer/ix / pop_local

Method pop_local

crates/kernel/src/tc.rs:479–485  ·  view source on GitHub ↗

Pop the most recent local variable.

(&mut self)

Source from the content-addressed store, hash-verified

477 h.update(self.ctx_id.as_bytes());
478 self.ctx_id_stack.push(self.ctx_id);
479 self.ctx_id = h.finalize();
480 self.ctx.push(ty);
481 self.let_vals.push(Some(val));
482 self.num_let_bindings += 1;
483 }
484
485 pub fn fresh_fvar_id(&mut self) -> FVarId {
486 self.env.fresh_fvar_id()
487 }
488

Callers 10

pop_localsMethod · 0.80
restore_depthMethod · 0.80
push_pop_local_roundtripFunction · 0.80
ctx_id_restores_on_popFunction · 0.80
infer_varFunction · 0.80
infer_appFunction · 0.80

Calls

no outgoing calls

Tested by 8

push_pop_local_roundtripFunction · 0.64
ctx_id_restores_on_popFunction · 0.64
infer_varFunction · 0.64
infer_appFunction · 0.64