bracket verify_attributes/3 interrupts with allocation and deallocation of stack frames.

This commit is contained in:
Mark Thom
2019-02-11 21:21:13 -07:00
parent c3a5f25239
commit e36485533d
7 changed files with 70 additions and 24 deletions

View File

@@ -34,6 +34,7 @@ impl DebrayAllocator {
}
}
#[inline]
fn is_in_use(&self, r: usize) -> bool {
let in_use_range = r <= self.arity && r >= self.arg_c;
in_use_range || self.in_use.contains(&r)