Merge pull request #170 from urbit/msl/preserve-more-in-with-stack-frame

preserve more in with stack frame
This commit is contained in:
Edward Amsden 2023-12-08 19:38:36 -06:00 committed by GitHub
commit 94c11b990f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,6 +300,9 @@ impl Context {
self.stack.frame_push(slots);
let mut ret = f(self);
ret.preserve(&mut self.stack);
self.cache.preserve(&mut self.stack);
self.cold.preserve(&mut self.stack);
self.warm.preserve(&mut self.stack);
self.stack.frame_pop();
ret
}