Skip to content
Closed
2 changes: 1 addition & 1 deletion src/hotspot/share/adlc/output_h.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ void ArchDesc::declareClasses(FILE *fp) {
fprintf(fp, " };\n");
}*/
else if( instr->is_ideal_copy() &&
(instr->_matrule != nullptr && instr->_matrule->_rChild != nullptr) &&
(instr->_matrule != nullptr && instr->_matrule->_rChild != nullptr) &&
!strcmp(instr->_matrule->_lChild->_opType,"stackSlotP") ) {
// !!!!!
// Special hack for ideal Copy of pointer. Bottom type is oop or not depending on input.
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/c1/c1_LinearScan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4419,7 +4419,7 @@ Interval* Interval::split(int split_pos) {
assert(cur != Range::end(), "split interval after end of last range");

if ((cur != nullptr) &&
(cur->from() < split_pos)) {
(cur->from() < split_pos)) {
result->_first = new Range(split_pos, cur->to(), cur->next());
cur->set_to(split_pos);
cur->set_next(Range::end());
Expand Down