add use_module/{1,2} as full fledged predicates

This commit is contained in:
Mark Thom
2019-09-30 10:26:29 -06:00
parent 376b39a4ef
commit 9df14cf890
14 changed files with 261 additions and 59 deletions

View File

@@ -134,7 +134,7 @@ impl DebrayAllocator {
target.push(Target::move_to_register(r, k));
self.contents.remove(&k);
self.contents.swap_remove(&k);
self.contents.insert(r.reg_num(), var.clone());
self.record_register(var, r);