< 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.
Reviewed-by: stuefe, coleenp

*** 406,425 **** return new_register(T_INT); #endif } static LIR_Condition lir_cond(If::Condition cond) { ! LIR_Condition l; 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; case If::geq: l = lir_cond_greaterEqual; break; case If::gtr: l = lir_cond_greater; break; case If::aeq: l = lir_cond_aboveEqual; break; case If::beq: l = lir_cond_belowEqual; break; }; return l; } #ifdef __SOFTFP__ --- 406,426 ---- return new_register(T_INT); #endif } static LIR_Condition lir_cond(If::Condition cond) { ! 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; case If::geq: l = lir_cond_greaterEqual; break; case If::gtr: l = lir_cond_greater; break; case If::aeq: l = lir_cond_aboveEqual; break; case If::beq: l = lir_cond_belowEqual; break; + default: assert(0, "You must pass valid If::Condition"); }; return l; } #ifdef __SOFTFP__
< prev index next >