src/hotspot/cpu/sparc/c1_LIRAssembler_sparc.cpp
changeset 58925 9bbe560e8131
parent 58273 08a5148e7c4e
equal deleted inserted replaced
58924:c41d1303a87c 58925:9bbe560e8131
  1509               __ cmp(opr1->as_register(), O7);
  1509               __ cmp(opr1->as_register(), O7);
  1510             }
  1510             }
  1511           }
  1511           }
  1512           break;
  1512           break;
  1513 
  1513 
       
  1514         case T_METADATA:
       
  1515           // We only need, for now, comparison with NULL for metadata.
       
  1516           { assert(condition == lir_cond_equal || condition == lir_cond_notEqual, "oops");
       
  1517             Metadata* m = opr2->as_constant_ptr()->as_metadata();
       
  1518             if (m == NULL) {
       
  1519               __ cmp(opr1->as_register(), 0);
       
  1520             } else {
       
  1521               ShouldNotReachHere();
       
  1522             }
       
  1523           }
       
  1524           break;
       
  1525 
  1514         default:
  1526         default:
  1515           ShouldNotReachHere();
  1527           ShouldNotReachHere();
  1516           break;
  1528           break;
  1517       }
  1529       }
  1518     } else {
  1530     } else {