< prev index next >

src/share/vm/opto/subnode.cpp

Print this page
rev 11143 : Fix dangling write-barrier in acmp

*** 962,973 **** Node* conk2 = isa_const_java_mirror(phase, in(2)); if (k1 && (k2 || conk2)) { Node* lhs = k1; Node* rhs = (k2 != NULL) ? k2 : conk2; ! this->set_req(1, lhs); ! this->set_req(2, rhs); return this; } } // Constant pointer on right? --- 962,982 ---- Node* conk2 = isa_const_java_mirror(phase, in(2)); if (k1 && (k2 || conk2)) { Node* lhs = k1; Node* rhs = (k2 != NULL) ? k2 : conk2; ! #if INCLUDE_ALL_GCS ! PhaseIterGVN* igvn = phase->is_IterGVN(); ! if (igvn != NULL) { ! set_req_X(1, lhs, igvn); ! set_req_X(2, rhs, igvn); ! } else ! #endif ! { ! set_req(1, lhs); ! set_req(2, rhs); ! } return this; } } // Constant pointer on right?
< prev index next >