Final narrowing for byte/short/char
(dest: &Type)
| 591 | Type::I16 => Some(JI::I2s), |
| 592 | Type::U16 | Type::Char => Some(JI::I2c), |
| 593 | _ => None, |
| 594 | } |
| 595 | } |
| 596 | |
| 597 | fn numbers_call( |
| 598 | cp: &mut InternedConstantPool, |
| 599 | name: &str, |
| 600 | descriptor: &str, |
| 601 | ) -> Result<Instruction, jvm::Error> { |
| 602 | let class = cp.add_class("org/rustlang/runtime/Numbers")?; |
| 603 | let method = cp.add_method_ref(class, name, descriptor)?; |
| 604 | Ok(JI::Invokestatic(method)) |
no outgoing calls
no test coverage detected