MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / next_key

Method next_key

src/entity/primary_map.rs:138–140  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

136 #[inline]
137 #[must_use]
138 pub fn next_key(&self) -> K {
139 K::new(self.elems.len())
140 }
141
142 /// Append `v` to the mapping, assigning a new key which is returned.
143 #[inline]

Callers 13

value_defMethod · 0.80
parse_reg_defFunction · 0.80
parse_reg_group_defFunction · 0.80
parse_class_defFunction · 0.80
parse_bank_defFunction · 0.80
gen_bankMethod · 0.80
gen_subclassMethod · 0.80
parse_value_declarationFunction · 0.80
parse_block_labelFunction · 0.80
parse_instructionFunction · 0.80
finalizeMethod · 0.80
pushMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected