fn internal_binop_no_def_imm_r(&mut self, inst: &str, op1: i32, op2: &P<Value>) {
        let len = check_op_len(op2);

        let inst = inst.to_string() + &op_postfix(len);
        trace!("emit: {} {} {}", inst, op1, op2);

        let imm = self.prepare_imm(op1, len);
        let (reg2, id2, loc2) =
            self.prepare_reg(op2, inst.len() + 1 + 1 + imm.to_string().len() + 1);

        let asm = format!("{} ${},{}", inst, imm, reg2);

        self.add_asm_inst(
            asm,
            linked_hashmap!{},
            linked_hashmap!{
                id2 => vec![loc2]
            },
            false
        )
    }
/// emits an instruction (use 1 imm 1 reg, define none)
emits an instruction (use 1 imm 1 reg, define none)
emits an instruction ( use 1 imm 1 reg define none )
fn internal_binop_no_def_imm_r(&mut self, inst: &str, op1: i32, op2: &P<Value>) {
        let len = check_op_len(op2);
        let inst = inst.to_string() + &op_postfix(len);
        trace!("emit: {} {} {}", inst, op1, op2);
        let imm = self.prepare_imm(op1, len);
        let (reg2, id2, loc2) =
            self.prepare_reg(op2, inst.len() + 1 + 1 + imm.to_string().len() + 1);
        let asm = format!("{} ${},{}", inst, imm, reg2);
        self.add_asm_inst(
            asm,
            linked_hashmap!{},
            linked_hashmap!{
                id2 => vec![loc2]
            },
            false
        )
    }
fn internal_binop_no_def_imm_r ( & mut self , inst : & str , op1 : i32 , op2 : & P < Value > ) { let len = check_op_len ( op2 ) ; let inst = inst . to_string ( ) + & op_postfix ( len ) ; trace ! ( " " inst op1 op2 ) ; let imm = self . prepare_imm ( op1 , len ) ; let ( reg2 , id2 , loc2 ) = self . prepare_reg ( op2 , inst . len ( ) + 1 + 1 + imm . to_string ( ) . len ( ) + 1 ) ; let asm = format ! ( " " inst imm reg2 ) ; self . add_asm_inst ( asm , linked_hashmap ! { } , linked_hashmap ! { id2 vec [ loc2 ] } , false ) }
emits an instruction (use 1 imm 1 reg, define none)
emits an instruction ( use 1 imm 1 reg define none )
&mut self
inst
&str
op1
i32
op2
&P<Value>
&mut self
inst
&str
op1
i32
op2
&P<Value>