Add note why value stack is always empty after execution
This commit is contained in:
parent
445d0cd3c6
commit
ee7faafa70
|
@ -116,7 +116,7 @@ impl Interpreter {
|
|||
self.value_stack.pop()
|
||||
});
|
||||
|
||||
// Ensure that stack is empty after the execution.
|
||||
// Ensure that stack is empty after the execution. This is guaranteed by the validation properties.
|
||||
assert!(self.value_stack.len() == 0);
|
||||
|
||||
Ok(opt_return_value)
|
||||
|
@ -150,7 +150,7 @@ impl Interpreter {
|
|||
self.value_stack.pop()
|
||||
});
|
||||
|
||||
// Ensure that stack is empty after the execution.
|
||||
// Ensure that stack is empty after the execution. This is guaranteed by the validation properties.
|
||||
assert!(self.value_stack.len() == 0);
|
||||
|
||||
Ok(opt_return_value)
|
||||
|
|
Loading…
Reference in New Issue