< prev index next >

src/share/vm/c1/c1_LIRGenerator.hpp

Print this page
rev 9088 : 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux.

@@ -406,11 +406,11 @@
     return new_register(T_INT);
 #endif
   }
 
   static LIR_Condition lir_cond(If::Condition cond) {
-    LIR_Condition l;
+    LIR_Condition l = lir_cond_unknown;
     switch (cond) {
     case If::eql: l = lir_cond_equal;        break;
     case If::neq: l = lir_cond_notEqual;     break;
     case If::lss: l = lir_cond_less;         break;
     case If::leq: l = lir_cond_lessEqual;    break;
< prev index next >