pub fn intersect(&mut self, another: &Self) -> bool {
        assert!(
            (!self.has_temp() && !another.has_temp() ||
                 (self.has_temp() && another.has_temp() &&
                      self.get_temp().unwrap() == another.get_temp().unwrap()))
        );

        let mut changed = false;

        // intersect real registers
        if vec_utils::intersect(&mut self.real, &another.real) {
            changed = true;
        }

        // intersect memory
        if vec_utils::intersect(&mut self.stack, &another.stack) {
            changed = true;
        }

        changed
    }
// two entries can intersect only when they have the same temp, or they do not have temps
two entries can intersect only when they have the same temp, or they do not have temps
two entries can intersect only when they have the same temp or they do not have temps
pub fn intersect(&mut self, another: &Self) -> bool {
        assert!(
            (!self.has_temp() && !another.has_temp() ||
                 (self.has_temp() && another.has_temp() &&
                      self.get_temp().unwrap() == another.get_temp().unwrap()))
        );
        let mut changed = false;
        // intersect real registers
        if vec_utils::intersect(&mut self.real, &another.real) {
            changed = true;
        }
        // intersect memory
        if vec_utils::intersect(&mut self.stack, &another.stack) {
            changed = true;
        }
        changed
    }
pub fn intersect ( & mut self , another : & Self ) -> bool { assert ! ( ( self has_temp ( ) another has_temp ( ) ( self has_temp ( ) another has_temp ( ) self get_temp ( ) unwrap ( ) another get_temp ( ) unwrap ( ) ) ) ) ; let mut changed = false ; // intersect real registers if vec_utils :: intersect ( & mut self . real , & another . real ) { changed = true ; } // intersect memory if vec_utils :: intersect ( & mut self . stack , & another . stack ) { changed = true ; } changed }
two entries can intersect only when they have the same temp, or they do not have temps
two entries can intersect only when they have the same temp or they do not have temps
&mut self
another
&Self
&mut self
another
&Self