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

Method first_half

src/internal/live_range.rs:405–407  ·  view source on GitHub ↗

First half of the split.

(&mut self)

Source from the content-addressed store, hash-verified

403impl<'a> SplitResult<'a> {
404 /// First half of the split.
405 pub fn first_half(&mut self) -> &mut [ValueSegment] {
406 &mut self.segments[..self.first_half_end]
407 }
408
409 /// Second half of the split.
410 pub fn into_second_half(self) -> &'a mut [ValueSegment] {

Callers 2

do_splitMethod · 0.80
compute_constraintsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected