< prev index next >

src/cpu/x86/vm/c1_LIRAssembler_x86.cpp

Print this page
rev 9067 : 8139040: Fix initializations before ShouldNotReachHere()

@@ -1993,11 +1993,11 @@
     Unimplemented();
   }
 }
 
 void LIR_Assembler::cmove(LIR_Condition condition, LIR_Opr opr1, LIR_Opr opr2, LIR_Opr result, BasicType type) {
-  Assembler::Condition acond, ncond;
+  Assembler::Condition acond = Assembler::equal, ncond = Assembler::notEqual;
   switch (condition) {
     case lir_cond_equal:        acond = Assembler::equal;        ncond = Assembler::notEqual;     break;
     case lir_cond_notEqual:     acond = Assembler::notEqual;     ncond = Assembler::equal;        break;
     case lir_cond_less:         acond = Assembler::less;         ncond = Assembler::greaterEqual; break;
     case lir_cond_lessEqual:    acond = Assembler::lessEqual;    ncond = Assembler::greater;      break;
< prev index next >