(&self, name: &str)
| 300 | } |
| 301 | |
| 302 | pub fn get_function(&self, name: &str) -> Function { |
| 303 | if let Some(StackValue::Function(function)) = self.locals.get(name) { |
| 304 | function.clone() |
| 305 | } else { |
| 306 | panic!("There was no function named {name}") |
| 307 | } |
| 308 | } |
| 309 | } |
| 310 | |
| 311 | macro_rules! jit_function { |