adapt code generation

This commit is contained in:
Mark Thom
2022-10-17 22:56:08 -06:00
committed by Mark
parent b9c9de5222
commit e41d1b319b
8 changed files with 700 additions and 427 deletions

View File

@@ -60,6 +60,9 @@ pub(crate) trait Allocator {
fn take_bindings(self) -> AllocVarDict;
fn max_reg_allocated(&self) -> usize;
// TODO: wha.. why?? grrr. it drains the VarStatus data from vs (which it owns!)
// into self.bindings and perm_vs after all is computed (i.e. vs.populate_restricting_sets()
// and vs.set_perm_vals(has_deep_cut) have both been called).
fn drain_var_data<'a>(
&mut self,
vs: VariableFixtures<'a>,