1.1 --- a/src/share/vm/c1/c1_LIRGenerator.cpp Wed Apr 03 16:43:09 2013 -0700 1.2 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp Thu Apr 04 10:01:26 2013 -0700 1.3 @@ -707,25 +707,6 @@ 1.4 } 1.5 } 1.6 1.7 -static Value maxvalue(IfOp* ifop) { 1.8 - switch (ifop->cond()) { 1.9 - case If::eql: return NULL; 1.10 - case If::neq: return NULL; 1.11 - case If::lss: // x < y ? x : y 1.12 - case If::leq: // x <= y ? x : y 1.13 - if (ifop->x() == ifop->tval() && 1.14 - ifop->y() == ifop->fval()) return ifop->y(); 1.15 - return NULL; 1.16 - 1.17 - case If::gtr: // x > y ? y : x 1.18 - case If::geq: // x >= y ? y : x 1.19 - if (ifop->x() == ifop->tval() && 1.20 - ifop->y() == ifop->fval()) return ifop->y(); 1.21 - return NULL; 1.22 - 1.23 - } 1.24 -} 1.25 - 1.26 static ciType* phi_declared_type(Phi* phi) { 1.27 ciType* t = phi->operand_at(0)->declared_type(); 1.28 if (t == NULL) {