| 41 | } |
| 42 | |
| 43 | pub struct BytecodeFunction { |
| 44 | pub name: String, |
| 45 | pub body: Rc<[u8]>, |
| 46 | pub arity: Arity, |
| 47 | pub frame_size: u8, |
| 48 | pub line_table: Rc<LineTable>, |
| 49 | pub loc: SourcePointer, |
| 50 | pub attrib_byte: u8, |
| 51 | pub module: RuntimeModule, |
| 52 | pub(crate) boxx: ObjectBox, |
| 53 | uplevels: std::cell::RefCell<HashMap<u8, RuntimeValue>>, |
| 54 | } |
| 55 | |
| 56 | impl BytecodeFunction { |
| 57 | pub(crate) fn store_uplevel(&self, idx: u8, val: RuntimeValue) { |
no outgoing calls
no test coverage detected
searching dependent graphs…