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

Method last

src/entity/base.rs:53–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 /// Panics in debug builds if the range is empty.
52 #[inline]
53 pub fn last(self) -> T {
54 debug_assert!(!self.is_empty());
55 T::new(self.to.index() - 1)
56 }
57
58 /// Returns whether the range is empty.
59 #[inline]

Callers 11

get_scratch_regMethod · 0.45
handle_block_live_inMethod · 0.45
for_each_move_sourceMethod · 0.45
handle_useMethod · 0.45
process_segmentMethod · 0.45
prepareMethod · 0.45
coalesce_valuesMethod · 0.45
collect_usesMethod · 0.45
collect_usesMethod · 0.45
build_initial_vregsMethod · 0.45
check_inst_rangeMethod · 0.45

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected