51 } |
51 } |
52 if (r_2->is_Register() && (type == T_LONG || type == T_DOUBLE)) { |
52 if (r_2->is_Register() && (type == T_LONG || type == T_DOUBLE)) { |
53 opr = as_long_opr(reg); |
53 opr = as_long_opr(reg); |
54 } else if (type == T_OBJECT || type == T_ARRAY) { |
54 } else if (type == T_OBJECT || type == T_ARRAY) { |
55 opr = as_oop_opr(reg); |
55 opr = as_oop_opr(reg); |
|
56 } else if (type == T_METADATA) { |
|
57 opr = as_metadata_opr(reg); |
56 } else { |
58 } else { |
57 opr = as_opr(reg); |
59 opr = as_opr(reg); |
58 } |
60 } |
59 } else if (r_1->is_FloatRegister()) { |
61 } else if (r_1->is_FloatRegister()) { |
60 assert(type == T_DOUBLE || type == T_FLOAT, "wrong type"); |
62 assert(type == T_DOUBLE || type == T_FLOAT, "wrong type"); |