(&mut self, value: Value<'gc>)
| 200 | } |
| 201 | |
| 202 | pub fn add_constant(&mut self, value: Value<'gc>) -> usize { |
| 203 | self.constans.push(value); |
| 204 | // return the index where the constant |
| 205 | // was appended so that we can locate that same constant later |
| 206 | self.constans.len() - 1 |
| 207 | } |
| 208 | |
| 209 | #[inline] |
| 210 | pub fn read_constant(&self, byte: u8) -> Value<'gc> { |
no test coverage detected