equal
deleted
inserted
replaced
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 { |