< prev index next >

src/share/vm/opto/library_call.cpp

Print this page

        

*** 1972,1982 **** // Try to find a dominating comparison of these guys. // It can simplify the index computation for Arrays.copyOf // and similar uses of System.arraycopy. // First, compute the normalized version of CmpI(x, y). ! int cmp_op = Op_CmpI; Node* xkey = xvalue; Node* ykey = yvalue; Node* ideal_cmpxy = _gvn.transform(new CmpINode(xkey, ykey)); if (ideal_cmpxy->is_Cmp()) { // E.g., if we have CmpI(length - offset, count), --- 1972,1982 ---- // Try to find a dominating comparison of these guys. // It can simplify the index computation for Arrays.copyOf // and similar uses of System.arraycopy. // First, compute the normalized version of CmpI(x, y). ! uint cmp_op = Op_CmpI; Node* xkey = xvalue; Node* ykey = yvalue; Node* ideal_cmpxy = _gvn.transform(new CmpINode(xkey, ykey)); if (ideal_cmpxy->is_Cmp()) { // E.g., if we have CmpI(length - offset, count),
< prev index next >