(&mut self, frame: Frame)
| 337 | } |
| 338 | |
| 339 | fn push_frame(&mut self, frame: Frame) -> bool { |
| 340 | if self.call_stack.len() >= self.max_call_stack { |
| 341 | self.set_exception(CALL_STACK_OVERFLOW_MSG); |
| 342 | false |
| 343 | } else { |
| 344 | self.call_stack.push(frame); |
| 345 | true |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | /// Constructs a `Scope` for an upcall with arguments starting at `reg`. |
| 350 | /// |
no test coverage detected