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

Function sparse_switch

tests/binary/ops/src/main.rs:68–75  ·  view source on GitHub ↗
(value: i32)

Source from the content-addressed store, hash-verified

66fn sparse_switch(value: i32) -> i32 {
67 match value {
68 -1000 => 10,
69 0 => 20,
70 1000 => 30,
71 _ => 40,
72 }
73}
74
75#[inline(never)]
76fn opaque_f128(value: f128) -> f128 {
77 value
78}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected