fn emit_move_node_to_value(
        &mut self,
        dest: &P<Value>,
        src: &TreeNode,
        f_content: &FunctionContent,
        f_context: &mut FunctionContext,
        vm: &VM
    ) {
        let src = if match_node_value(src) {
            get_node_value(src)
        } else if self.match_reg(src) {
            self.emit_reg(src, f_content, f_context, vm)
        } else {
            panic!("Expected node value or reg")
        };
        emit_move_value_to_value(self.backend.as_mut(), dest, &src, f_context, vm);
    }
// TODO: This has been modified to simply use iregs and fpregs (NEED TO FIX THIS??)
This has been modified to simply use iregs and fpregs (NEED TO FIX THIS??)
This has been modified to simply use iregs and fpregs ( NEED TO FIX THIS?? )
fn emit_move_node_to_value(
        &mut self,
        dest: &P<Value>,
        src: &TreeNode,
        f_content: &FunctionContent,
        f_context: &mut FunctionContext,
        vm: &VM
    ) {
        let src = if match_node_value(src) {
            get_node_value(src)
        } else if self.match_reg(src) {
            self.emit_reg(src, f_content, f_context, vm)
        } else {
            panic!("Expected node value or reg")
        };
        emit_move_value_to_value(self.backend.as_mut(), dest, &src, f_context, vm);
    }
fn emit_move_node_to_value ( & mut self , dest : & P < Value > , src : & TreeNode , f_content : & FunctionContent , f_context : & mut FunctionContext , vm : & VM ) { let src = if match_node_value ( src ) { get_node_value ( src ) } else if self . match_reg ( src ) { self . emit_reg ( src , f_content , f_context , vm ) } else { panic ! ( " " ) } ; emit_move_value_to_value ( self . backend . as_mut ( ) , dest , & src , f_context , vm ) ; }
TODO: This has been modified to simply use iregs and fpregs (NEED TO FIX THIS??)
TODO : This has been modified to simply use iregs and fpregs ( NEED TO FIX THIS?? )
&mut self
dest
&P<Value>
src
&TreeNode
f_content
&FunctionContent
f_context
&mut FunctionContext
vm
&VM
&mut self
dest
&P<Value>
src
&TreeNode
f_content
&FunctionContent
f_context
&mut FunctionContext
vm
&VM