MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / normalize

Function normalize

src/lower2/helpers.rs:379–384  ·  view source on GitHub ↗

Normalize smaller ints → I32

(ty: &Type)

Source from the content-addressed store, hash-verified

377 3 => Instruction::Astore_3,
378 _ => unreachable!(),
379 }
380 } else if index <= u8::MAX as u16 {
381 Instruction::Astore(index as u8)
382 } else {
383 Instruction::Astore_w(index)
384 }
385 }
386 Unit | Void => {
387 return Err(jvm::Error::VerificationError {

Callers 1

primitive_to_primitiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected