add invariant checks

This commit is contained in:
Yury Delendik
2019-09-12 16:16:32 -05:00
committed by Dan Gohman
parent 805fbb4d2a
commit 042c87763e
5 changed files with 27 additions and 11 deletions

View File

@@ -217,7 +217,7 @@ pub struct VMTableDefinition {
pub base: *mut u8,
/// The current number of elements in the table.
pub current_elements: usize,
pub current_elements: u32,
}
#[cfg(test)]