< prev index next >

src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp

Print this page
@@ -1544,12 +1544,14 @@
    } else {
      ShouldNotReachHere();
    }
  }
  
+ void LIR_Assembler::cmove(LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2, LIR_Opr result, BasicType type,
+                           LIR_Opr cmp_opr1, LIR_Opr cmp_opr2) {
+   assert(cmp_opr1 == LIR_OprFact::illegalOpr && cmp_opr2 == LIR_OprFact::illegalOpr, "unnecessary cmp oprs on ppc");
  
- void LIR_Assembler::cmove(LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2, LIR_Opr result, BasicType type) {
    if (opr1->is_equal(opr2) || opr1->is_same_register(opr2)) {
      load_to_reg(this, opr1, result); // Condition doesn't matter.
      return;
    }
  
< prev index next >