wip: portals

This commit is contained in:
Jonathan Kelley committed 2021-10-08 16:01:13 -04:00
1 parent 1f22a06a36
commit 4a0bb8cf84
9 files changed
+154 -1027

No files matched your search

+7
View File
@@ -76,6 +76,13 @@ impl<'bump> DiffStack<'bump> {
}
}
pub fn push_subtree(&mut self) {
self.nodes_created_stack.push(0);
self.instructions.push(DiffInstruction::Mount {
and: MountType::Append,
});
}
pub fn push_nodes_created(&mut self, count: usize) {
self.nodes_created_stack.push(count);
}