1.1 --- a/src/share/vm/c1/c1_LIR.hpp Mon Jun 11 16:44:16 2018 +0800 1.2 +++ b/src/share/vm/c1/c1_LIR.hpp Mon Jun 11 17:42:16 2018 +0800 1.3 @@ -362,7 +362,11 @@ 1.4 opr->type_field() != unknown_type, "shouldn't see unknown_type"); 1.5 return type_field() == opr->type_field(); 1.6 } 1.7 +#ifdef MIPS 1.8 + bool is_same_register(LIR_Opr opr) const { 1.9 +#else 1.10 bool is_same_register(LIR_Opr opr) { 1.11 +#endif 1.12 return (is_register() && opr->is_register() && 1.13 kind_field() == opr->kind_field() && 1.14 (value() & no_type_mask) == (opr->value() & no_type_mask)); 1.15 @@ -381,6 +385,10 @@ 1.16 bool is_float_kind() const { return is_pointer() ? pointer()->is_float_kind() : (kind_field() == fpu_register); } 1.17 bool is_oop() const; 1.18 1.19 +#ifdef MIPS 1.20 + bool has_common_register(LIR_Opr opr) const; 1.21 +#endif 1.22 + 1.23 // semantic for fpu- and xmm-registers: 1.24 // * is_float and is_double return true for xmm_registers 1.25 // (so is_single_fpu and is_single_xmm are true)