(&mut self, uninitialized: &FrameValue, class_name: &str)
| 149 | let index = index as usize; |
| 150 | let width = if value.is_category2() { 2 } else { 1 }; |
| 151 | let locals = Arc::make_mut(&mut self.locals); |
| 152 | if locals.len() < index + width { |
| 153 | locals.resize(index + width, FrameValue::Top); |
| 154 | } |
| 155 | |
| 156 | if index > 0 && locals[index - 1].is_category2() { |
| 157 | locals[index - 1] = FrameValue::Top; |
| 158 | } |
| 159 | locals[index] = value; |
| 160 | if width == 2 { |
| 161 | locals[index + 1] = FrameValue::Top; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | fn initialize_object(&mut self, uninitialized: &FrameValue, class_name: &str) { |
| 166 | let initialized = FrameValue::Object(normalize_class_name(class_name).into()); |
no test coverage detected