Return the size of the stack, accounting for u256 values taking up 8 values.
(&self)
| 470 | |
| 471 | //Return the size of the stack, accounting for u256 values taking up 8 values. |
| 472 | fn get_size_of_stack(&self) -> u32 { |
| 473 | self.stack |
| 474 | .0 |
| 475 | .iter() |
| 476 | .map(|sv| sv.yul_type.miden_stack_width()) |
| 477 | .sum() |
| 478 | } |
| 479 | |
| 480 | //Push a u256 value to the stack. See convert_u256_to_pushes for more details on how u256 segments are pushed. |
| 481 | fn push_u256(&mut self, value: U256) { |
no test coverage detected