track attr_var_init lengths on the stack (#1667)

This commit is contained in:
Mark Thom
2022-12-16 00:42:31 -07:00
parent 1eff758751
commit cf63e8375d
8 changed files with 15 additions and 21 deletions

View File

@@ -849,6 +849,7 @@ impl MachineState {
or_frame.prelude.tr = self.tr;
or_frame.prelude.h = self.heap.len();
or_frame.prelude.b0 = self.b0;
or_frame.prelude.attr_var_queue_len = self.attr_var_init.attr_var_queue.len();
self.b = b;
@@ -876,6 +877,7 @@ impl MachineState {
or_frame.prelude.tr = self.tr;
or_frame.prelude.h = self.heap.len();
or_frame.prelude.b0 = self.b0;
or_frame.prelude.attr_var_queue_len = self.attr_var_init.attr_var_queue.len();
self.b = b;