equal
deleted
inserted
replaced
1452 } |
1452 } |
1453 |
1453 |
1454 // ------------------------------------------------------------------ |
1454 // ------------------------------------------------------------------ |
1455 |
1455 |
1456 static BasicType erase_to_word_type(BasicType bt) { |
1456 static BasicType erase_to_word_type(BasicType bt) { |
1457 if (is_subword_type(bt)) return T_INT; |
1457 if (is_subword_type(bt)) return T_INT; |
1458 if (bt == T_ARRAY) return T_OBJECT; |
1458 if (is_reference_type(bt)) return T_OBJECT; |
1459 return bt; |
1459 return bt; |
1460 } |
1460 } |
1461 |
1461 |
1462 static bool basic_types_match(ciType* t1, ciType* t2) { |
1462 static bool basic_types_match(ciType* t1, ciType* t2) { |
1463 if (t1 == t2) return true; |
1463 if (t1 == t2) return true; |