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

Method add_integer

src/lower2/constant_pool.rs:154–156  ·  view source on GitHub ↗
(&mut self, value: i32)

Source from the content-addressed store, hash-verified

152 self.add(Constant::Utf8(jvm::JavaString::from(value.as_ref()).into()))
153 }
154
155 pub(super) fn add_integer(&mut self, value: i32) -> jvm::Result<u16> {
156 self.add(Constant::Integer(value))
157 }
158
159 pub(super) fn add_float(&mut self, value: f32) -> jvm::Result<u16> {

Callers 1

get_int_const_instrFunction · 0.80

Calls 1

addMethod · 0.80

Tested by

no test coverage detected