(a: &str, b: &str)
| 1153 | fn transfer_instruction( |
| 1154 | instruction_index: usize, |
| 1155 | instruction: &Instruction, |
| 1156 | mut state: FrameState, |
| 1157 | local_hints: &[FrameValue], |
| 1158 | constant_pool: &ConstantPool, |
| 1159 | context: &str, |
| 1160 | ) -> jvm::Result<Vec<(usize, FrameState)>> { |
| 1161 | use Instruction as I; |
| 1162 | |
| 1163 | match instruction { |
| 1164 | I::Nop => {} |
| 1165 | I::Aconst_null => state.stack.push(FrameValue::Null), |
| 1166 | I::Iconst_m1 |
| 1167 | | I::Iconst_0 |
| 1168 | | I::Iconst_1 |
| 1169 | | I::Iconst_2 |
| 1170 | | I::Iconst_3 |
| 1171 | | I::Iconst_4 |
| 1172 | | I::Iconst_5 |
| 1173 | | I::Bipush(_) |
| 1174 | | I::Sipush(_) => state.stack.push(FrameValue::Integer), |
| 1175 | I::Lconst_0 | I::Lconst_1 => state.stack.push(FrameValue::Long), |
| 1176 | I::Fconst_0 | I::Fconst_1 | I::Fconst_2 => state.stack.push(FrameValue::Float), |
| 1177 | I::Dconst_0 | I::Dconst_1 => state.stack.push(FrameValue::Double), |
| 1178 | I::Ldc(index) => state |
| 1179 | .stack |
| 1180 | .push(frame_value_from_ldc(constant_pool, u16::from(*index))?), |
| 1181 | I::Ldc_w(index) => state |
no test coverage detected