8231375: AArch64 build failure after JDK-8230505

Reviewed-by: dcubed
This commit is contained in:
Aleksey Shipilev 2019-09-23 21:46:44 +02:00
parent 0c507f3180
commit 01755225a1

View File

@ -728,7 +728,7 @@ void LIR_Assembler::reg2reg(LIR_Opr src, LIR_Opr dest) {
move_regs(src->as_register(), dest->as_register());
} else if (dest->is_double_cpu()) {
if (is_reference_type(src->type()) {
if (is_reference_type(src->type())) {
// Surprising to me but we can see move of a long to t_object
__ verify_oop(src->as_register());
move_regs(src->as_register(), dest->as_register_lo());