fn add_move(&mut self, src: MuID, dst: MuID) {
        let src = {
            if is_precolored(src) {
                // get the color for the machine register, e.g. rax for eax/ax/al/ah
                backend::get_color_for_precolored(src)
            } else {
                src
            }
        };

        let dst = {
            if is_precolored(dst) {
                backend::get_color_for_precolored(dst)
            } else {
                dst
            }
        };

        self.moves.insert(Move { from: src, to: dst });
    }
/// adds a move edge between two nodes
adds a move edge between two nodes
adds a move edge between two nodes
fn add_move(&mut self, src: MuID, dst: MuID) {
        let src = {
            if is_precolored(src) {
                // get the color for the machine register, e.g. rax for eax/ax/al/ah
                backend::get_color_for_precolored(src)
            } else {
                src
            }
        };
        let dst = {
            if is_precolored(dst) {
                backend::get_color_for_precolored(dst)
            } else {
                dst
            }
        };
        self.moves.insert(Move { from: src, to: dst });
    }
fn add_move ( & mut self , src : MuID , dst : MuID ) { let src = { if is_precolored ( src ) { // get the color for the machine register, e.g. rax for eax/ax/al/ah backend :: get_color_for_precolored ( src ) } else { src } } ; let dst = { if is_precolored ( dst ) { backend :: get_color_for_precolored ( dst ) } else { dst } } ; self . moves . insert ( Move { from : src , to : dst } ) ; }
adds a move edge between two nodes
adds a move edge between two nodes
&mut self
src
MuID
dst
MuID
&mut self
src
MuID
dst
MuID